修改消息通知

This commit is contained in:
qq787203167
2022-03-04 17:06:13 +08:00
parent 1ee3475e45
commit 0db5597cf4
5 changed files with 21 additions and 14 deletions
@@ -25,10 +25,9 @@
}
},
watch: {
'$route': function(val) {
console.log(val)
if (val.meta.title == '首页') {
this.Navigation = val.meta.title
'$route': function(to,form) {
if (to.meta.title == '首页') {
this.Navigation = to.meta.title
this.subNavigation = null
} else {
this.updateMenu()