From c16c30c80222a2422645acbca17fbaa3c15b8a38 Mon Sep 17 00:00:00 2001 From: PY Date: Wed, 11 Oct 2023 00:05:46 +0800 Subject: [PATCH] fix: effect source abnormal (#3456) --- 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 a9da435a99..b98a7b166b 100644 --- a/src/cascader/core/effect.ts +++ b/src/cascader/core/effect.ts @@ -103,7 +103,7 @@ export function valueChangeEffect(node: TreeNode, cascaderContext: CascaderConte .map((item) => item.value), ); - setValue(resValue, 'check', node.getModel()); + setValue(resValue, node.checked ? 'uncheck' : 'check', node.getModel()); } /**