fix table 滚动条head宽度

This commit is contained in:
2023-01-16 10:11:46 +08:00
parent 8f0cb42c5f
commit 7f37117c39
4 changed files with 1 additions and 7 deletions

View File

@@ -986,7 +986,6 @@ const _sfc_main = defineComponent({
} else {
scrollWidthCell.value = 0;
}
console.log("\u6EDA\u52A8\u6761\u5BBD\u5EA6", scrollWidthCell.value);
tableBodyEmptyWidth.value = ((_c = tableHeaderTable.value) == null ? void 0 : _c.offsetWidth) + "px";
};
const hasl = ref(false);
@@ -999,7 +998,6 @@ const _sfc_main = defineComponent({
});
watch(() => [props.height, props.maxHeight, props.dataSource], () => {
nextTick(() => {
console.log("\u6570\u636E\u53D8\u5316", scrollWidthCell.value);
getScrollWidth();
});
}, {