Merge branch 'next' of https://gitee.com/layui/layui-vue into next

This commit is contained in:
sight
2022-08-30 01:19:39 +08:00
3 changed files with 663 additions and 641 deletions

View File

@@ -434,6 +434,8 @@ const getScrollWidth = () => {
const offsetWidth: number = tableBody.value?.offsetWidth || 0;
if (clientWidth < offsetWidth) {
scrollWidthCell.value = offsetWidth - clientWidth;
} else {
scrollWidthCell.value = 0;
}
};