Skip to content

Commit

Permalink
Merge 69e2afa into 473ef53
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary4j committed Jan 19, 2022
2 parents 473ef53 + 69e2afa commit abbdc46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/menu/src/menu-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
computed: {
active() {
return this.index === this.rootMenu.activeIndex;
return this.index !==null && this.index === this.rootMenu.activeIndex;
},
hoverBackground() {
return this.rootMenu.hoverBackground;
Expand Down

0 comments on commit abbdc46

Please sign in to comment.