소스 검색

Merge branch 'termLink0615' into test

wyq 4 년 전
부모
커밋
6a9fcabd32
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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,