Cascader: fix cascader panel active path (#20730)

pull/20763/head
好多大米 2021-02-02 21:15:32 +08:00 committed by GitHub
parent e8e3a64038
commit cea8c8c792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ export default {
syncCheckedValue() {
const { value, checkedValue } = this;
if (!isEqual(value, checkedValue)) {
this.activePath = [];
this.checkedValue = value;
this.syncMenuState();
}