Skip to content

Commit

Permalink
fix: effect source abnormal (#3456)
Browse files Browse the repository at this point in the history
  • Loading branch information
PengYYYYY authored Oct 10, 2023
1 parent 5e8ff4f commit c16c30c
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 @@ -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());
}

/**
Expand Down

0 comments on commit c16c30c

Please sign in to comment.