From 6d97d9ff55c6ff22ca53df68e9cb2f2899509e3d Mon Sep 17 00:00:00 2001 From: guochao <463561248@qq.com> Date: Wed, 15 Feb 2023 18:29:01 +0800 Subject: [PATCH] fix(checkbox): add checkbox-input style to solve the problem of checkbox nesting --- .../web-vue/components/checkbox/checkbox.tsx | 56 ++++++++++--------- .../components/checkbox/style/index.less | 46 +++++++++------ 2 files changed, 57 insertions(+), 45 deletions(-) diff --git a/packages/web-vue/components/checkbox/checkbox.tsx b/packages/web-vue/components/checkbox/checkbox.tsx index 092df8867..3e19c6122 100644 --- a/packages/web-vue/components/checkbox/checkbox.tsx +++ b/packages/web-vue/components/checkbox/checkbox.tsx @@ -208,33 +208,35 @@ export default defineComponent({ return () => (