Selaa lähdekoodia

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

Lijy 2 vuotta sitten
vanhempi
commit
40919670e8

+ 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({