Ver código fonte

Update index.tsx

lex 2 anos atrás
pai
commit
5047202d38

+ 2 - 4
src/views/login/components/register-success/index.tsx

@@ -29,10 +29,8 @@ export default defineComponent({
   },
   async mounted() {
     try {
-      if (state.user.data?.userId) {
-        // 获取用户信息
-        await getUserInfo()
-      }
+      // 获取用户信息
+      await getUserInfo()
     } catch {
       //
     }