fix head滚动条宽度
This commit is contained in:
parent
2658e52bf9
commit
33ed9a6237
@ -109,7 +109,7 @@ const _sfc_main = defineComponent({
|
||||
var noNegative = true;
|
||||
s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";
|
||||
if (parseFloat(s) < 0) {
|
||||
s = Math.abs(s) + "";
|
||||
s = Math.abs(parseFloat(s)) + "";
|
||||
noNegative = false;
|
||||
}
|
||||
var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1];
|
||||
|
@ -1000,6 +1000,8 @@ const _sfc_main = defineComponent({
|
||||
nextTick(() => {
|
||||
getScrollWidth();
|
||||
});
|
||||
}, {
|
||||
deep: true
|
||||
});
|
||||
onMounted(() => {
|
||||
var _a, _b;
|
||||
|
@ -11233,7 +11233,7 @@ const _sfc_main$1v = defineComponent({
|
||||
var noNegative = true;
|
||||
s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";
|
||||
if (parseFloat(s) < 0) {
|
||||
s = Math.abs(s) + "";
|
||||
s = Math.abs(parseFloat(s)) + "";
|
||||
noNegative = false;
|
||||
}
|
||||
var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1];
|
||||
@ -19418,6 +19418,8 @@ const _sfc_main$D = defineComponent({
|
||||
nextTick(() => {
|
||||
getScrollWidth();
|
||||
});
|
||||
}, {
|
||||
deep: true
|
||||
});
|
||||
onMounted(() => {
|
||||
var _a2, _b;
|
||||
|
@ -70,7 +70,7 @@ const formatMoney = function (s: string) {
|
||||
var noNegative = true;
|
||||
s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";
|
||||
if (parseFloat(s) < 0) {
|
||||
s = Math.abs(s) + "";
|
||||
s = Math.abs(parseFloat(s)) + "";
|
||||
noNegative = false;
|
||||
}
|
||||
|
||||
|
@ -434,6 +434,7 @@ const getScrollWidth = () => {
|
||||
} else {
|
||||
scrollWidthCell.value = 0;
|
||||
}
|
||||
|
||||
tableBodyEmptyWidth.value = tableHeaderTable.value?.offsetWidth + "px";
|
||||
};
|
||||
|
||||
@ -453,6 +454,8 @@ watch(
|
||||
nextTick(() => {
|
||||
getScrollWidth();
|
||||
});
|
||||
},{
|
||||
deep:true
|
||||
}
|
||||
);
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user