Optimize role

This commit is contained in:
2023-11-14 18:09:19 +08:00
parent 8a97fa375a
commit 3c492fc824
6 changed files with 111 additions and 13 deletions

6
src/global.d.ts vendored
View File

@@ -134,12 +134,16 @@ interface RoleVo {
id: string
name: string
enable: boolean
createTime: string
updateTime: string
}
interface GroupVo {
id: string
name: string
enable: boolean
createTime: string
updateTime: string
}
interface LoginForm {
@@ -204,6 +208,8 @@ interface RoleWithPowerGetVo {
id: string
name: string
enable: string
createTime: string
updateTime: string
modules: ModuleVo[]
menus: MenuVo[]
elements: ElementVo[]