first commit

This commit is contained in:
zc
2026-02-26 17:31:18 +08:00
commit f1b87df6ca
803 changed files with 297148 additions and 0 deletions

25
src/types/global.d.ts vendored Normal file
View File

@@ -0,0 +1,25 @@
interface AnyObject {
[key: string]: unknown
}
interface Options {
label: string
value: unknown
}
/** 键值对类型 */
export interface LabelValueState {
label: string
value: any
extra?: string
}
declare global{
type Recordable<T = any> = Record<string, T>
}
/** 状态1启用2禁用 */
type Status = 1 | 2
/** 性别120未知 */
type Gender = 1 | 2 | 0