处理数据看板
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.raf(() => {
|
||||
uni_modules_nutuiUni_components__utils_raf.requestAniFrame(() => {
|
||||
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.raf(animate);
|
||||
uni_modules_nutuiUni_components__utils_raf.requestAniFrame(animate);
|
||||
}
|
||||
animate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user