解决bug:页面搜索菜单,切换的时候标题不变

This commit is contained in:
季圣华
2022-09-21 23:05:04 +08:00
parent cb8b955ef3
commit bee325343d
3 changed files with 9 additions and 2 deletions

View File

@@ -191,7 +191,7 @@
// update_begin author:sunjianlei date:20191230 for: 解决外部链接打开失败的问题
searchMethods(value) {
let route = this.searchMenuOptions.filter(item => item.id === value)[0]
this.$router.push({ path: route.url })
this.$emit("searchGlobalHeader",route.url, route.id, route.text, route.component)
this.searchMenuVisible = false
},
// update_end author:sunjianlei date:20191230 for: 解决外部链接打开失败的问题