mirror of https://github.com/ElemeFE/element
Cascader: fix cascader panel active path (#20730)
parent
e8e3a64038
commit
cea8c8c792
|
@ -176,6 +176,7 @@ export default {
|
||||||
syncCheckedValue() {
|
syncCheckedValue() {
|
||||||
const { value, checkedValue } = this;
|
const { value, checkedValue } = this;
|
||||||
if (!isEqual(value, checkedValue)) {
|
if (!isEqual(value, checkedValue)) {
|
||||||
|
this.activePath = [];
|
||||||
this.checkedValue = value;
|
this.checkedValue = value;
|
||||||
this.syncMenuState();
|
this.syncMenuState();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue