Update dependencies. Add page. Optimize code.

This commit is contained in:
2023-11-01 14:47:41 +08:00
parent aa295db6ae
commit b548fb8083
19 changed files with 734 additions and 515 deletions

4
src/global.d.ts vendored
View File

@@ -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