Skip to content

Commit

Permalink
fix(cascader): effect source abnormal (#2544)
Browse files Browse the repository at this point in the history
  • Loading branch information
betavs authored Oct 12, 2023
1 parent 7610437 commit 5f4f5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascader/core/effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,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());
}

/**
Expand Down

0 comments on commit 5f4f5cf

Please sign in to comment.