diff --git a/src/components/Table/src/components/settings/ColumnSetting.vue b/src/components/Table/src/components/settings/ColumnSetting.vue index edac1313..24de7c8a 100644 --- a/src/components/Table/src/components/settings/ColumnSetting.vue +++ b/src/components/Table/src/components/settings/ColumnSetting.vue @@ -182,10 +182,12 @@ }); watchEffect(() => { - const columns = table.getColumns(); - if (columns.length && !state.isInit) { - init(); - } + setTimeout(() => { + const columns = table.getColumns(); + if (columns.length && !state.isInit) { + init(); + } + }, 0); }); watchEffect(() => {