fix head滚动条宽度

This commit is contained in:
2023-01-16 10:12:10 +08:00
parent 2658e52bf9
commit 33ed9a6237
6 changed files with 12 additions and 5 deletions

View File

@@ -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;