|
@@ -109,7 +109,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
if (pass == 1) {
|
|
|
- if (this.menusShow.length > 1) {
|
|
|
+ if (this.menusShow.length >= 1) {
|
|
|
this.menuSelect(this.menusShow[num])
|
|
|
}
|
|
|
} else if (pass == 2) {
|
|
@@ -136,7 +136,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
menuSelect: function(_menu) {
|
|
|
- console.log(_menu)
|
|
|
if (_menu) {
|
|
|
this.currMenuId = _menu.id
|
|
|
if (_menu.name === '首页') {
|