parent
6d89ed9619
commit
8dd5468734
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<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">
|
<Row type="flex" justify="center" align="middle">
|
||||||
<i-col span="12">
|
<i-col span="12">
|
||||||
<Menu-item name="1">
|
<Menu-item name="1">
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateActiveName () {
|
updateActiveName () {
|
||||||
if (!this.currentActiveName) {
|
if (this.currentActiveName === undefined) {
|
||||||
this.currentActiveName = -1;
|
this.currentActiveName = -1;
|
||||||
}
|
}
|
||||||
this.broadcast('Submenu', 'on-update-active-name', false);
|
this.broadcast('Submenu', 'on-update-active-name', false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue