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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user