Fixed for changeActiveItem

pull/3463/head
Bahadır Sofuoğlu 2023-01-09 21:36:40 +03:00
parent 13b9fd9537
commit 2aa1fa89c6
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ export default {
const active = this.isItemActive(item);
const eventName = !active ? 'panel-open' : 'panel-close';
this.activeItem = selfActive ? item : this.activeItem && this.activeItem === item ? null : item;
this.activeItem = selfActive ? item : this.activeItem && ObjectUtils.equals(item, this.activeItem) ? null : item;
this.changeExpandedKeys({ item, expanded: !active });
this.$emit(eventName, { originalEvent: event, item });
}