Sfoglia il codice sorgente

解决项目进展表格随着定时渲染问题

zy 11 mesi fa
parent
commit
7a5563f320

+ 3 - 0
neim-ui/src/views/largeScreenPage/Subpage/projectEvolve.vue

@@ -459,6 +459,9 @@ export default {
       if (day < 10) day = "0" + day;
       if (minutes < 10) minutes = "0" + minutes;
       this.time = year + "-" + month + "-" + day + " " + hour + ' : ' + minutes;
+      this.$nextTick(() => { //在数据加载完,重新渲染表格
+        this.$refs['projectEvolveTable'].doLayout();
+      })
     },
 
     /**