jiaxiaoqiang преди 4 месеца
родител
ревизия
07a209bb5b
променени са 2 файла, в които са добавени 2 реда и са изтрити 4 реда
  1. 2 2
      src/views/modules/project-config/configs/properites.ts
  2. 0 2
      src/views/modules/project-config/project-config.vue

+ 2 - 2
src/views/modules/project-config/configs/properites.ts

@@ -31,8 +31,8 @@ export interface InforPropertyModel {
   maxValue?: string;
   inputOrOutput?: "input" | "output";
   bindValue?: string; //这个是el-form 会绑定的值
-  bindCode?: string; //  //编号
-  bindLabel?: string; //这个是el-mention 会绑定的值 然后将id给 bindCode
+
+  bindLabel?: string; //这个是el-mention 会绑定的值
   bingObjJson?: string; // 这个是el-metntion 会绑定的整个对象的值
 }
 

+ 0 - 2
src/views/modules/project-config/project-config.vue

@@ -164,14 +164,12 @@ const handleSearch = (_: string, prefix: string) => {
               @search="handleSearch"
               @select="
                 (opt) => {
-                  property.bindCode = opt.code;
                   property.bingObjJson = JSON.stringify(opt);
                 }
               "
               @blur="
                 () => {
                   if (property.bindLabel === '') {
-                    property.bindCode = '';
                     property.bingObjJson = '';
                   }
                 }