Преглед изворни кода

Merge commit 'refs/pull/308/head' of https://gitee.com/zuohuaijun/Admin.NET into next

zuohuaijun пре 4 година
родитељ
комит
982dc78834
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      Vben2/src/components/Table/src/components/settings/ColumnSetting.vue

+ 3 - 1
Vben2/src/components/Table/src/components/settings/ColumnSetting.vue

@@ -184,7 +184,9 @@
       watchEffect(() => {
         const columns = table.getColumns();
         if (columns.length && !state.isInit) {
-          init();
+          setTimeout(() => {
+            init();
+          }, 0);
         }
       });