ソースを参照

清空数据修改

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=''
       
     },