@1337exp/taoui 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3315,7 +3315,7 @@
|
|
|
3315
3315
|
const c = getScrollValue();
|
|
3316
3316
|
if (c > 0) {
|
|
3317
3317
|
window.requestAnimationFrame(goToTop);
|
|
3318
|
-
window.scrollTo(
|
|
3318
|
+
window.scrollTo({ top: c - Math.max(10, c / 8), left: 0, behavior: "instant" });
|
|
3319
3319
|
}
|
|
3320
3320
|
}
|
|
3321
3321
|
function onScroll() {
|
|
@@ -3398,7 +3398,7 @@
|
|
|
3398
3398
|
};
|
|
3399
3399
|
}
|
|
3400
3400
|
});
|
|
3401
|
-
const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-
|
|
3401
|
+
const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-89d2feaa"]]);
|
|
3402
3402
|
const _hoisted_1$u = { class: "tao-progress" };
|
|
3403
3403
|
const _hoisted_2$r = {
|
|
3404
3404
|
key: 0,
|