From b1731ed919eca65c064a803ec7c42ac6f218b231 Mon Sep 17 00:00:00 2001
From: DEV_DSW <562304744@qq.com>
Date: Wed, 27 May 2026 13:46:42 +0800
Subject: [PATCH] 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
---
components.d.ts | 2 ++
src/components/CheckBox/index.vue | 39 -----------------------
src/components/CheckBox/propmt.md | 12 -------
src/components/CheckBox/styles/index.scss | 10 ------
src/pages/login/index.vue | 7 ++--
5 files changed, 5 insertions(+), 65 deletions(-)
delete mode 100644 src/components/CheckBox/index.vue
delete mode 100644 src/components/CheckBox/propmt.md
delete mode 100644 src/components/CheckBox/styles/index.scss
diff --git a/components.d.ts b/components.d.ts
index 3071355..41fb45d 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -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']
diff --git a/src/components/CheckBox/index.vue b/src/components/CheckBox/index.vue
deleted file mode 100644
index 24fc63b..0000000
--- a/src/components/CheckBox/index.vue
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-