refactor: 重构权限管理

1.更新字段管理
This commit is contained in:
猿小天
2023-11-21 21:21:58 +08:00
parent 6045312f7e
commit fb8b0a5ac6
4 changed files with 11 additions and 3 deletions

View File

@@ -47,6 +47,15 @@ export const createCrudOptions = function ({ crudExpose, tabActivted }: { crudEx
editRequest,
delRequest,
},
actionbar:{
buttons:{
add:{
show:computed(() =>{
return tabActivted.value !== 'receive'
})
},
}
},
rowHandle: {
fixed:'right',
width:150,