fix table 滚动条head宽度
This commit is contained in:
parent
8f0cb42c5f
commit
7f37117c39
@ -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();
|
||||
});
|
||||
}, {
|
||||
|
@ -19404,7 +19404,6 @@ const _sfc_main$D = 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);
|
||||
@ -19417,7 +19416,6 @@ const _sfc_main$D = defineComponent({
|
||||
});
|
||||
watch(() => [props.height, props.maxHeight, props.dataSource], () => {
|
||||
nextTick(() => {
|
||||
console.log("\u6570\u636E\u53D8\u5316", scrollWidthCell.value);
|
||||
getScrollWidth();
|
||||
});
|
||||
}, {
|
||||
|
@ -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();
|
||||
});
|
||||
},{
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user