Commit
8dd5468734f2379d573cb0162412a9be11eb4b85
Authored by
梁灏
1
|
1
|
<template> |
2
|
2
|
<div> |
3
|
|
- <Menu mode="horizontal" :theme="theme1" active-name="1" @on-select="s"> |
|
3
|
+ <Menu mode="horizontal" :theme="theme1" @on-select="s"> |
4
|
4
|
<Row type="flex" justify="center" align="middle"> |
5
|
5
|
<i-col span="12"> |
6
|
6
|
<Menu-item name="1"> |
...
|
...
|
|
...
|
...
|
@@ -69,7 +69,7 @@ |
69
|
69
|
}, |
70
|
70
|
methods: { |
71
|
71
|
updateActiveName () { |
72
|
|
- if (!this.currentActiveName) { |
|
72
|
+ if (this.currentActiveName === undefined) { |
73
|
73
|
this.currentActiveName = -1; |
74
|
74
|
} |
75
|
75
|
this.broadcast('Submenu', 'on-update-active-name', false); |
...
|
...
|
|