Commit e09d7c74 authored by 杨奕's avatar 杨奕 Committed by baiyaaaaa

Collapse: fix accordion panel name=0 closing issue (#3546)

parent fef0334e
......@@ -42,7 +42,7 @@
handleItemClick(item) {
if (this.accordion) {
this.setActiveNames(
this.activeNames[0] &&
(this.activeNames[0] || this.activeNames[0] === 0) &&
this.activeNames[0] === item.name
? '' : item.name
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment