From 499515c688167bc4edbb17d18c66b506f3ca2cc2 Mon Sep 17 00:00:00 2001 From: LiangZhiLin <1270166468@qq.com> Date: Mon, 9 Jan 2023 11:12:36 +0800 Subject: [PATCH] fix(element): fix Checkbox.Group's change event failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix Checkbox.Group's change event is triggered twice, Cause functional failure. 修复多选框组选项勾选失败问题。 --- packages/element/src/checkbox/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/element/src/checkbox/index.ts b/packages/element/src/checkbox/index.ts index b8176d5d433..1d52b943c40 100644 --- a/packages/element/src/checkbox/index.ts +++ b/packages/element/src/checkbox/index.ts @@ -85,6 +85,7 @@ export type CheckboxGroupProps = ElCheckboxGroupProps & { const TransformElCheckboxGroup = transformComponent(ElCheckboxGroup, { change: 'input', + uselessChange: 'change' }) const CheckboxGroupOption = defineComponent({