refactor: dark toggle and usedict with fix dict can't persist (#47)

This commit is contained in:
ppxb
2025-01-16 20:41:30 +08:00
committed by GitHub
parent 33e0c61bb6
commit 1c743fb097
9 changed files with 143 additions and 42 deletions

8
src/types/app.d.ts vendored
View File

@@ -29,4 +29,12 @@ declare namespace App {
label: string
value: AnimateType
}
/** 字典项 */
interface DictItem {
disabled?: boolean
extra?: string
label: string
value: string
}
}

View File

@@ -58,6 +58,7 @@ declare module 'vue' {
SecondForm: typeof import('./../components/GenCron/CronForm/component/second-form.vue')['default']
SplitPanel: typeof import('./../components/SplitPanel/index.vue')['default']
TextCopy: typeof import('./../components/TextCopy/index.vue')['default']
ToggleDark: typeof import('./../components/ToggleDark/index.vue')['default']
UserSelect: typeof import('./../components/UserSelect/index.vue')['default']
Verify: typeof import('./../components/Verify/index.vue')['default']
VerifyPoints: typeof import('./../components/Verify/Verify/VerifyPoints.vue')['default']