🐛(component): window.resize 动态计算 table 滚动条占位宽度

This commit is contained in:
就眠儀式 2022-09-04 03:36:23 +08:00
parent dbd1090b1b
commit 3f5c2ed67b

View File

@ -465,6 +465,7 @@ onMounted(() => {
getFixedColumn(); getFixedColumn();
}); });
window.onresize = () => { window.onresize = () => {
getScrollWidth();
getFixedColumn(); getFixedColumn();
}; };
}); });