Skip to content

Commit

Permalink
fix(comp:tree): checkedChange should be called after cascaderStrategy…
Browse files Browse the repository at this point in the history
… change (#1887)
  • Loading branch information
sallerli1 committed Apr 12, 2024
1 parent 28f70c1 commit a122a31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/tree/src/composables/useCheckable.ts
Expand Up @@ -148,6 +148,7 @@ export function useCheckable(
watch(cascaderStrategy, () => {
const newCheckedKeys = checkedStateResolver.appendKeys([], checkedKeys.value)
setCheckedKeys(newCheckedKeys)
callChange(mergedNodeMap, newCheckedKeys, props.onCheckedChange)
})

return {
Expand Down

0 comments on commit a122a31

Please sign in to comment.