Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 10:59:21 +08:00

perf: 将白名单配置文件迁移到 router 目录

This commit is contained in:
pany 2024-11-26 18:05:20 +08:00
parent 599d03a4cf
commit 8a224cc946
2 changed files with 1 additions and 1 deletions

View File

@ -1,10 +1,10 @@
import type { Router } from "vue-router"
import { setRouteChange } from "@/composables/useRouteListener"
import { useTitle } from "@/composables/useTitle"
import { isWhiteList } from "@/config/white-list"
import { usePermissionStore } from "@/pinia/stores/permission"
import { useUserStore } from "@/pinia/stores/user"
import { routerConfig } from "@/router/config"
import { isWhiteList } from "@/router/whitelist"
import { getToken } from "@/utils/cache/cookies"
import { ElMessage } from "element-plus"
import NProgress from "nprogress"