refactor: ♻️ 角色的路由权限判断移至后端

This commit is contained in:
ray
2024-06-29 14:25:24 +08:00
parent f59d8987ee
commit 322607504f
5 changed files with 62 additions and 121 deletions

View File

@@ -50,11 +50,5 @@ declare module "vue-router" {
* @default false
*/
breadcrumb?: boolean;
/**
* 拥有访问该菜单权限的角色编码集合
* @example ['admin', 'editor']
*/
roles?: string[];
}
}