feat:整合字典管理

This commit is contained in:
ANHE
2025-03-23 11:00:34 +08:00
parent 3fc4bec81a
commit 7f781112a9
24 changed files with 1077 additions and 17 deletions

View File

@ -239,7 +239,7 @@ export const useRouteStore = defineStore(SetupStoreId.Route, () => {
/** Init auth route */
async function initAuthRoute() {
// check if user info is initialized
if (!authStore.userInfo.userId) {
if (!authStore.userInfo.user?.userId) {
await authStore.initUserInfo();
}