Skip to content

Commit cea8c8c

Browse files
authored
Cascader: fix cascader panel active path (#20730)
1 parent e8e3a64 commit cea8c8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/cascader-panel/src/cascader-panel.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ export default {
176176
syncCheckedValue() {
177177
const { value, checkedValue } = this;
178178
if (!isEqual(value, checkedValue)) {
179+
this.activePath = [];
179180
this.checkedValue = value;
180181
this.syncMenuState();
181182
}

0 commit comments

Comments
 (0)