浏览代码

点击面板检索时将原始长度清空

zhuliu 1 年之前
父节点
当前提交
50ae09f691
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/report/components/patentList/components/customFields/index.vue

+ 1 - 1
src/views/report/components/patentList/components/customFields/index.vue

@@ -208,6 +208,7 @@ export default {
     },
     // 点击面板中的搜索
     handleSearch(row) {
+      row.optionsLength = 0
       this.getOptions(row)
     },
     // 点击当前面板
@@ -302,7 +303,6 @@ export default {
           if (!sign) {
             this.$set(row, 'check', []) 
           }
-          
           if (row.optionsLength == nums.length || nums.length<10) {
             this.$set(row, 'isShowBtn', false)
             this.$set(row, 'optionsLength', nums.length)