1
0

feat(web): 统一页面显示和权限

This commit is contained in:
2024-11-26 10:40:58 +08:00
parent 246e27677e
commit e76236be62
6 changed files with 43 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
import {
administratorOnly,
apiGet,
copyField,
crudCommonOptions,
@@ -11,7 +12,7 @@ import {userAdministratorRegisterDialog} from "../../components/user/dialog-user
export function tabUser() {
return {
visibleOn: '${role === "ADMINISTRATOR"}',
visibleOn: administratorOnly,
title: '用户管理',
icon: 'fa fa-user',
body: [