解决菜单缓存的bug
This commit is contained in:
@@ -153,7 +153,7 @@
|
||||
myMenuSelect(value){
|
||||
//此处触发动态路由被点击事件
|
||||
this.findMenuBykey(this.menus,value.key)
|
||||
this.$emit("dynamicRouterShow",value.key, this.activeMenu.id, this.activeMenu.text)
|
||||
this.$emit("dynamicRouterShow",value.key, this.activeMenu.id, this.activeMenu.text, this.activeMenu.component)
|
||||
let storeKey = 'route:title:' + this.activeMenu.url
|
||||
this.$ls.set(storeKey, this.activeMenu.text)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user