修改细节问题

This commit is contained in:
qq787203167
2022-03-05 11:52:22 +08:00
parent b557c0d214
commit 5b67bf3c18
4 changed files with 35 additions and 40 deletions
@@ -25,9 +25,9 @@
}
},
watch: {
'$route': function(to,form) {
if (to.meta.title == '首页') {
this.Navigation = to.meta.title
'$route': function(val) {
if (val.meta.title == '首页') {
this.Navigation = val.meta.title
this.subNavigation = null
} else {
this.updateMenu()