mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 20:57:17 +08:00
perf: 避免每次路由都去初始化网站配置
This commit is contained in:
@@ -16,7 +16,6 @@ router.beforeEach(async (to, from, next) => {
|
||||
const userStore = useUserStore()
|
||||
const routeStore = useRouteStore()
|
||||
const appStore = useAppStore()
|
||||
appStore.initWebConfig()
|
||||
|
||||
// 判断该用户是否登录
|
||||
if (getToken()) {
|
||||
|
Reference in New Issue
Block a user