refactor: 重构权限管理

1.更新字段管理
This commit is contained in:
猿小天
2023-11-21 14:21:08 +08:00
parent 645f43c887
commit 54e4d23cf7
3 changed files with 9 additions and 3 deletions

View File

@@ -47,6 +47,13 @@ export const createCrudOptions = function ({
editRequest,
delRequest,
},
actionbar: {
buttons: {
add: {
show: hasPermissions('role:Create')
}
}
},
rowHandle: {
//固定右侧
fixed: 'right',