Explorar o código

Merge branch 'termLink0615' into test

wyq %!s(int64=4) %!d(string=hai) anos
pai
achega
6a9fcabd32
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      src/components/base/LtModal.vue

+ 5 - 0
src/components/base/LtModal.vue

@@ -46,6 +46,7 @@
                       style="minWidth: 240px"
                       @input="onchange"
                       @blur="onblur"
+                      @clear="clear"
                     ></el-input>
                   </el-form-item>
                   <el-form-item :label="detail+'预览:'">
@@ -390,6 +391,10 @@ export default {
       }
       this.getTermMatching(type, name);
     },
+    clear(){
+      const { hisName, hisDetailName } = this.form;
+      this.getTermMatching(1, hisName);
+    },
     getTermMatching(type, name) {
       let params = {
         type: type ? type : this.type,