Преглед на файлове

调整项目管理的列表塌陷问题

Lijy преди 2 години
родител
ревизия
40919670e8
променени са 1 файла, в които са добавени 9 реда и са изтрити 3 реда
  1. 9 3
      fhKeeper/formulahousekeeper/timesheet/src/views/project/list.vue

+ 9 - 3
fhKeeper/formulahousekeeper/timesheet/src/views/project/list.vue

@@ -1205,6 +1205,12 @@ a {
                 this.$refs.chooseMembTree2.filter(val);
             }
         },
+        updated () {
+            // console.log('执行upload生命周期')
+            this.$nextTick(()=>{
+                this.$refs.projectlistOfWudulist.doLayout();
+            })
+        },
         methods: {
             hoverCall(row) {
                 this.rowid=row.id
@@ -2917,9 +2923,9 @@ a {
                         this.showColumnWidth = this.showColumn(list)
                         this.list = list;
                         this.total = res.data.total;
-                        this.$nextTick(()=>{
-                            this.$refs.projectlistOfWudulist.doLayout();
-                        })
+                        // this.$nextTick(()=>{
+                        //     this.$refs.projectlistOfWudulist.doLayout();
+                        // })
                         this.listHeader = res.data.nameList
                     } else {
                         this.$message({