update roles

This commit is contained in:
2026-03-19 10:50:19 +08:00
parent e4fd8ca380
commit e9de137e66
9 changed files with 1032 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ setTokenGetter(() => useUserStore().token)
// 路由守卫
const authWhitelist = ['/login', '/register']
const adminOnlyPaths = ['/users', '/mq-status']
const adminOnlyPaths = ['/users', '/mq-status', '/roles', '/route-groups']
router.beforeEach(async (to) => {
const { useUserStore } = await import('./stores/user')