duy 2 роки тому
батько
коміт
08b1b1eef5
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      src/views/formula/edit1.vue

+ 3 - 1
src/views/formula/edit1.vue

@@ -74,7 +74,7 @@
                         size="small"
                         placeholder="输入关键字搜索"
                         clearable
-                        @clear="allTreeShow = false"
+                        @clear="clearfiltertext"
                         v-model="filterText">
                       </el-input>
                       <el-button size="small" class="mg-l-10" @click="treeFilter">搜索</el-button>
@@ -1154,6 +1154,7 @@ export default {
       this.operationVisible=false;
       this.allTreeShow=false;
       this.filterText=''
+      this.treeId=''
       console.log('取消');
     },
 
@@ -1269,6 +1270,7 @@ export default {
       this.eleTableId='';
       this.allTreeShow=false;
       this.filterText=''
+       this.treeId=''
       
     },