fix table 滚动条head宽度
This commit is contained in:
@@ -434,7 +434,6 @@ const getScrollWidth = () => {
|
||||
} else {
|
||||
scrollWidthCell.value = 0;
|
||||
}
|
||||
console.log("滚动条宽度",scrollWidthCell.value)
|
||||
|
||||
tableBodyEmptyWidth.value = tableHeaderTable.value?.offsetWidth + "px";
|
||||
};
|
||||
@@ -453,7 +452,6 @@ watch(
|
||||
() => [props.height, props.maxHeight, props.dataSource],
|
||||
() => {
|
||||
nextTick(() => {
|
||||
console.log("数据变化",scrollWidthCell.value)
|
||||
getScrollWidth();
|
||||
});
|
||||
},{
|
||||
|
||||
Reference in New Issue
Block a user