diff --git a/components/panelmenu/PanelMenu.vue b/components/panelmenu/PanelMenu.vue index 069512685..7aaf7a25b 100644 --- a/components/panelmenu/PanelMenu.vue +++ b/components/panelmenu/PanelMenu.vue @@ -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 }); }