zhengyiming
2 天以前 6695ef01506e6f7de7f90b4bf47076e49d9f7eae
apps/cMiniApp/src/pages/mine/index.vue
@@ -112,8 +112,6 @@
import { useSystemStore } from '@/stores/modules/system';
import PageLayoutWithBg from '@/components/Layout/PageLayoutWithBg.vue';
import { toThousand } from '@12333/utils';
import { useQuery } from '@tanstack/vue-query';
import * as authServices from '@12333/services/apiV2/auth';
const { userDetail, isCertified, updateUserInfo } = useUser();
const isLogin = useIsLogin();
@@ -122,9 +120,11 @@
const { goLoginFn } = useGoLogin();
const bgHeight = computed(() => 133 + systemStore.navHeight);
Taro.useDidShow(() => {
Taro.useDidShow(({ scene }) => {
  if (isLogin.value) {
    updateUserInfo();
    setTimeout(() => {
      updateUserInfo();
    }, 300);
  }
});