|
|
@ -1,14 +1,12 @@ |
|
|
|
import router from './router' |
|
|
|
import router from './router' |
|
|
|
import { isRelogin } from '@/config/axios/service' |
|
|
|
import { isRelogin } from '@/config/axios/service' |
|
|
|
import { getAccessToken, removeToken } from '@/utils/auth' |
|
|
|
import { getAccessToken } from '@/utils/auth' |
|
|
|
import { useTitle } from '@/hooks/web/useTitle' |
|
|
|
import { useTitle } from '@/hooks/web/useTitle' |
|
|
|
import { useNProgress } from '@/hooks/web/useNProgress' |
|
|
|
import { useNProgress } from '@/hooks/web/useNProgress' |
|
|
|
import { usePageLoading } from '@/hooks/web/usePageLoading' |
|
|
|
import { usePageLoading } from '@/hooks/web/usePageLoading' |
|
|
|
import { useDictStoreWithOut } from '@/store/modules/dict' |
|
|
|
import { useDictStoreWithOut } from '@/store/modules/dict' |
|
|
|
import { useUserStoreWithOut } from '@/store/modules/user' |
|
|
|
import { useUserStoreWithOut } from '@/store/modules/user' |
|
|
|
import { usePermissionStoreWithOut } from '@/store/modules/permission' |
|
|
|
import { usePermissionStoreWithOut } from '@/store/modules/permission' |
|
|
|
import { getAppId } from '@/utils/auth' |
|
|
|
|
|
|
|
import cache from '@/plugins/cache' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { start, done } = useNProgress() |
|
|
|
const { start, done } = useNProgress() |
|
|
|
|
|
|
|
|
|
|
|