feat(access): 实现基于用户角色的路由权限控制
添加权限检查功能,包括用户角色定义、路由元信息扩展和权限验证逻辑 重构路由配置和用户存储,支持动态菜单过滤 更新构建配置以支持类型声明生成
This commit is contained in:
@@ -9,7 +9,9 @@
|
||||
"build": "vue-tsc -b && vite build --mode dev",
|
||||
"build:prod": "vue-tsc -b && vite build --mode prod",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint . --ext .ts,.vue"
|
||||
"lint": "eslint . --ext .ts,.vue",
|
||||
"type-check": "vue-tsc --noEmit",
|
||||
"build:types": "vue-tsc --declaration --emitDeclarationOnly"
|
||||
},
|
||||
"dependencies": {
|
||||
"@arco-design/web-vue": "^2.57.0",
|
||||
|
||||
Reference in New Issue
Block a user