mirror of https://github.com/ElemeFE/element
Update menu-item.vue
parent
f8c3eae104
commit
69e2afaf70
|
@ -52,7 +52,7 @@
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
active() {
|
active() {
|
||||||
return this.index !===null && this.index === this.rootMenu.activeIndex;
|
return this.index !==null && this.index === this.rootMenu.activeIndex;
|
||||||
},
|
},
|
||||||
hoverBackground() {
|
hoverBackground() {
|
||||||
return this.rootMenu.hoverBackground;
|
return this.rootMenu.hoverBackground;
|
||||||
|
|
Loading…
Reference in New Issue