瀏覽代碼

统计栏位显示排序问题

zhuliu 1 年之前
父節點
當前提交
c2ba7d23df
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/report/components/patentList/components/customFields/index.vue

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

@@ -511,7 +511,9 @@ export default {
           if (data[i].name == this.showField[j].name && data[i].filedKind == this.showField[j].filedKind) {
             data[i].ifHidden = false
             
-            this.field.push(data[i])
+            // this.field.push(data[i])
+            this.$set(this.field,j,data[i])
+            // this.field[j] = data[i]
             
             //查统计todo统计接口
           //  this.esCountAnalysis(data[i])