Skip to content

Commit

Permalink
fix(cascader): effect source abnormal (#2837)
Browse files Browse the repository at this point in the history
  • Loading branch information
betavs authored Oct 10, 2023
1 parent 51cb81e commit e668b9c
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 @@ -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());
}

/**
Expand Down

0 comments on commit e668b9c

Please sign in to comment.