From c3a790d249faf9500399657155c425d3a783a9b6 Mon Sep 17 00:00:00 2001 From: betavs <392368711@qq.com> Date: Sun, 8 Oct 2023 10:10:10 +0800 Subject: [PATCH] fix(cascader): effect source abnormal --- src/cascader/core/effect.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cascader/core/effect.ts b/src/cascader/core/effect.ts index cf7dba8bb..497d5868f 100644 --- a/src/cascader/core/effect.ts +++ b/src/cascader/core/effect.ts @@ -104,7 +104,7 @@ export function valueChangeEffect(node: TreeNode, cascaderContext: CascaderConte .getPath() .map((item) => item.value)); - setValue(resValue, 'check', node.getModel()); + setValue(resValue, node.checked ? 'uncheck' : 'check', node.getModel()); } /**