apps/cMiniApp/src/pages/mine/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
apps/cMiniApp/src/pages/mine/index.vue
@@ -140,17 +140,19 @@ const { goLoginFn } = useGoLogin(); const bgHeight = computed(() => 133 + systemStore.navHeight); const { stop, start } = useIntervalFn(updateUserInfo, 5000, { immediate: false, }); Taro.useDidShow(({ scene }) => { if (isLogin.value) { const { stop, start } = useIntervalFn(updateUserInfo, 1000); setTimeout(() => { updateUserInfo(); }, 300); if (userDetail.value?.realStatus === EnumPersonalUserRealStatus.Checking) { start(); } else { stop(); } } else { stop(); } });