wupengfei
5 天以前 d69973bf32d63a3638b799866426f817b0193e10
fix: bug
1个文件已修改
12 ■■■■■ 已修改文件
apps/cMiniApp/src/pages/mine/index.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/cMiniApp/src/pages/mine/index.vue
@@ -132,11 +132,12 @@
import { useSystemStore } from '@/stores/modules/system';
import PageLayoutWithBg from '@/components/Layout/PageLayoutWithBg.vue';
import { toThousand } from '@12333/utils';
import { useIntervalFn } from 'senin-mini/hooks';
const { userDetail, isCertified, updateUserInfo } = useUser();
const isLogin = useIsLogin();
const systemStore = useSystemStore();
const { stop, start } = useIntervalFn(updateUserInfo, 1000);
const { goLoginFn } = useGoLogin();
const bgHeight = computed(() => 133 + systemStore.navHeight);
@@ -145,7 +146,16 @@
    setTimeout(() => {
      updateUserInfo();
    }, 300);
    if (userDetail.value?.realStatus === EnumPersonalUserRealStatus.Checking) {
      start();
    } else {
      stop();
  }
  }
});
Taro.useDidHide(() => {
  stop();
});
function goLogin() {