@vace
This commit is contained in:
梁灏 2017-04-20 10:43:40 +08:00
parent 6d89ed9619
commit 8dd5468734
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<template>
<div>
<Menu mode="horizontal" :theme="theme1" active-name="1" @on-select="s">
<Menu mode="horizontal" :theme="theme1" @on-select="s">
<Row type="flex" justify="center" align="middle">
<i-col span="12">
<Menu-item name="1">

View file

@ -69,7 +69,7 @@
},
methods: {
updateActiveName () {
if (!this.currentActiveName) {
if (this.currentActiveName === undefined) {
this.currentActiveName = -1;
}
this.broadcast('Submenu', 'on-update-active-name', false);