Update dependencies. Add page. Optimize code.
This commit is contained in:
4
src/global.d.ts
vendored
4
src/global.d.ts
vendored
@@ -16,7 +16,6 @@ type RouteJsonObject = {
|
||||
id?: string
|
||||
element?: React.JSX.Element
|
||||
component?: React.ComponentType
|
||||
children?: RouteJsonObject[]
|
||||
name?: string
|
||||
titlePrefix?: string
|
||||
title?: string
|
||||
@@ -26,6 +25,7 @@ type RouteJsonObject = {
|
||||
auth?: boolean
|
||||
permission?: boolean
|
||||
autoHide?: boolean
|
||||
children?: RouteJsonObject[]
|
||||
}
|
||||
|
||||
type RouteHandle = {
|
||||
@@ -57,7 +57,7 @@ type TokenVo = {
|
||||
token: string
|
||||
}
|
||||
|
||||
type UserWithInfoVo = {
|
||||
type UserWithPowerInfoVo = {
|
||||
id: string
|
||||
username: string
|
||||
locking: boolean
|
||||
|
||||
Reference in New Issue
Block a user