1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-23 08:00:22 +08:00

fix: 移除跳转role-select页面逻辑

This commit is contained in:
zclzone
2024-01-25 15:53:35 +08:00
parent 2c9604a829
commit f888c2fbfd
3 changed files with 8 additions and 20 deletions

View File

@@ -9,7 +9,7 @@
import { useAuthStore } from '@/store'
import api from '@/api'
const WHITE_LIST = ['/login', '/404', '/role-select']
const WHITE_LIST = ['/login', '/404']
export function createPermissionGuard(router) {
router.beforeEach(async (to) => {
const authStore = useAuthStore()