optimize(projects): optimize code

This commit is contained in:
Soybean
2024-06-15 00:49:24 +08:00
parent 3eeace94dd
commit b94baa18c1
2 changed files with 5 additions and 5 deletions

View File

@ -7,8 +7,8 @@ import { useRouterPush } from '@/hooks/common/router';
import { fetchGetUserInfo, fetchLogin } from '@/service/api';
import { localStg } from '@/utils/storage';
import { $t } from '@/locales';
import { useTabStore } from '@/store/modules/tab';
import { useRouteStore } from '../route';
import { useTabStore } from '../tab';
import { clearAuthStorage, getToken } from './shared';
export const useAuthStore = defineStore(SetupStoreId.Auth, () => {