Skip to content

Commit

Permalink
[Cascader]: fix bug #21647
Browse files Browse the repository at this point in the history
  • Loading branch information
qinpeip committed Jan 19, 2022
1 parent 97247d0 commit f546d3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cascader-panel/src/cascader-node.vue
Expand Up @@ -220,6 +220,8 @@
}
if (isLeaf && !isDisabled && !checkStrictly && !multiple) {
events.on.click = this.handleCheckChange;
} else if (isLeaf && multiple) {
delete events.on.click;
}
return (
Expand Down

0 comments on commit f546d3a

Please sign in to comment.