Karsa 1 year ago
parent
commit
1b9de839e4

+ 3 - 4
src/views/chartRelevance_manage/crossVarietyAnalysis/components/tagSetDialog.vue

@@ -17,7 +17,7 @@
         prefix-icon="el-icon-search"
         size="medium"
         clearable 
-        @change="filterList"
+        @input="inputVisible = false;"
       />
       <div class="tag-list">
         <div
@@ -121,8 +121,6 @@ export default {
 
       if(res.Ret !== 200) return
       this.$message.success('删除成功')
-      // let index = this.list.findIndex(_ => _.id === item.id);
-      // this.list.splice(index,1)
       
       this.refreshData()
     },
@@ -181,7 +179,8 @@ export default {
     },
 
     cancelHandle() {
-      this.searchTxt = ''
+      this.searchTxt = '';
+      this.inputVisible = false;
       this.$emit('update:isShow',false)
     }
   },