Skip to content

Commit

Permalink
Cascader: fix cascader panel active path
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1707 committed Jan 26, 2021
1 parent 493e188 commit d46f6e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cascader-panel/src/cascader-panel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export default {
syncCheckedValue() {
const { value, checkedValue } = this;
if (!isEqual(value, checkedValue)) {
this.activePath = [];
this.checkedValue = value;
this.syncMenuState();
}
Expand Down

0 comments on commit d46f6e2

Please sign in to comment.