songxy vor 1 Jahr
Ursprung
Commit
af0f10145a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      client_h5/src/App.vue

+ 1 - 1
client_h5/src/App.vue

@@ -6,11 +6,11 @@ import { useDictStoreWithOut } from '@/utils/dict';
 
 const userStore = useUserStoreWithOut();
 
+useDictStoreWithOut()
 const initUserInfoHandler = async () => {
     const code: string = await getDDAuthCode() as string
     const userIdResult = await getUserIdByDD({code})
   if (userIdResult && userIdResult?.data) {
-        useDictStoreWithOut()
         localStorage.setItem("ACCESS_TOKEN", userIdResult?.data.accessToken)
         const userResult = await getUserInfoById()
         if (userResult && userResult?.data) {