fix: 修复表格列设置下拉框中偶现列数据区域空白 (#1958) (#1981)

Co-authored-by: 舒培培 <622292@ky-tech.com.cn>
This commit is contained in:
cn.shperry 2022-06-19 17:49:47 +08:00 committed by JinMao
parent 0893632d02
commit 7692a3d95b

View File

@ -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(() => {