按钮展示逻辑优化

This commit is contained in:
季圣华
2021-08-22 17:56:34 +08:00
parent 88f86c5932
commit 47b5d2d800
4 changed files with 13 additions and 9 deletions

View File

@@ -154,11 +154,10 @@
myMenuSelect(value){
//此处触发动态路由被点击事件
this.findMenuBykey(this.menus,value.key)
this.$emit("dynamicRouterShow",value.key,this.activeMenu.text)
this.$emit("dynamicRouterShow",value.key, this.activeMenu.id, this.activeMenu.text)
// update-begin-author:sunjianlei date:20191223 for: 修复刷新后菜单Tab名字显示异常
let storeKey = 'route:title:' + this.activeMenu.url
this.$ls.set(storeKey, this.activeMenu.text)
Vue.ls.set('funId', this.activeMenu.id, 7 * 24 * 60 * 60 * 1000);
// update-end-author:sunjianlei date:20191223 for: 修复刷新后菜单Tab名字显示异常
},
findMenuBykey(menus,key){