refactor: swap custom CheckBox for Vant Checkbox

delete unused custom CheckBox component files including .vue, style and doc files
update login page template and imports to use van-checkbox
add VanCheckbox type definitions to global components declarations
This commit is contained in:
DEV_DSW
2026-05-27 13:46:42 +08:00
parent 3ab5c596cf
commit b1731ed919
5 changed files with 5 additions and 65 deletions

2
components.d.ts vendored
View File

@@ -47,6 +47,7 @@ declare module 'vue' {
TagsGroup: typeof import('./src/components/TagsGroup/index.vue')['default']
TopNavBar: typeof import('./src/components/TopNavBar/index.vue')['default']
UseDateRange: typeof import('./src/components/UseDateRange/index.vue')['default']
VanCheckbox: typeof import('vant/es')['Checkbox']
VanIcon: typeof import('vant/es')['Icon']
VanIcons: typeof import('vant/es')['Icons']
VanPopup: typeof import('vant/es')['Popup']
@@ -94,6 +95,7 @@ declare global {
const TagsGroup: typeof import('./src/components/TagsGroup/index.vue')['default']
const TopNavBar: typeof import('./src/components/TopNavBar/index.vue')['default']
const UseDateRange: typeof import('./src/components/UseDateRange/index.vue')['default']
const VanCheckbox: typeof import('vant/es')['Checkbox']
const VanIcon: typeof import('vant/es')['Icon']
const VanIcons: typeof import('vant/es')['Icons']
const VanPopup: typeof import('vant/es')['Popup']