Add dynamic menu to MainFramework

This commit is contained in:
2023-09-07 18:10:28 +08:00
parent 2c7b5fd6e0
commit e3d2a089f6
3 changed files with 42 additions and 35 deletions

17
src/vite-env.d.ts vendored
View File

@@ -1,12 +1,14 @@
/// <reference types="vite/client" />
type Captcha = {
value: string
base64Src: string
type RouteHandle = {
name?: string
menu?: boolean
auth?: boolean
}
type RouteHandle = {
auth: boolean
interface FitFullscreenProps extends PropsWithChildren {
zIndex?: number
backgroundColor?: string
}
type _Response<T> = {
@@ -15,6 +17,11 @@ type _Response<T> = {
data: T | null
}
type Captcha = {
value: string
base64Src: string
}
type Token = {
token: string
}