1
This commit is contained in:
@@ -87,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
function scrollIntoView() {
|
||||
if (!props.titleScroll)
|
||||
return;
|
||||
uni_modules_nutuiUni_components__utils_raf.requestAniFrame(() => {
|
||||
uni_modules_nutuiUni_components__utils_raf.raf(() => {
|
||||
Promise.all([
|
||||
getSelectorNodeInfo(`#nut-tabs__titles_${refRandomId}`),
|
||||
getSelectorNodeInfos(`#nut-tabs__titles_${refRandomId} .nut-tabs__titles-item`)
|
||||
@@ -136,7 +136,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
else
|
||||
scrollTop.value += (to - from) / frames;
|
||||
if (++count < frames)
|
||||
uni_modules_nutuiUni_components__utils_raf.requestAniFrame(animate);
|
||||
uni_modules_nutuiUni_components__utils_raf.raf(animate);
|
||||
}
|
||||
animate();
|
||||
}
|
||||
@@ -260,7 +260,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
return common_vendor.e(_ctx.type === "line" ? {
|
||||
a: common_vendor.s(tabsActiveStyle.value)
|
||||
} : {}, _ctx.type === "smile" ? {
|
||||
b: "1a46e7cc-0-" + i0,
|
||||
b: "76fe2c88-0-" + i0,
|
||||
c: common_vendor.p({
|
||||
name: "joy-smile",
|
||||
["custom-color"]: _ctx.customColor
|
||||
|
||||
Reference in New Issue
Block a user