Explorar o código

统计栏位加载更多系统异常

zhuliu hai 1 ano
pai
achega
955dd929f1

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

@@ -229,6 +229,9 @@ export default {
     },
     //获取选项
     async getOptions(row,sign) {
+      if(!sign){
+        row.topN = 10
+      }
       if (row) {
         // if (row.filedKind != -1 && (row.type == 'Array' || row.type == 'tree')) {
         //   switch (row.filedKind + '') {
@@ -611,7 +614,7 @@ export default {
     // 加载更多
     handleLoading(val) {
       val.topN += 10
-      this.getOptions(val)
+      this.getOptions(val,1)
     },
   }
 }