优化菜单搜索框
This commit is contained in:
@@ -188,11 +188,7 @@
|
|||||||
// update_begin author:sunjianlei date:20191230 for: 解决外部链接打开失败的问题
|
// update_begin author:sunjianlei date:20191230 for: 解决外部链接打开失败的问题
|
||||||
searchMethods(value) {
|
searchMethods(value) {
|
||||||
let route = this.searchMenuOptions.filter(item => item.id === value)[0]
|
let route = this.searchMenuOptions.filter(item => item.id === value)[0]
|
||||||
if (route.component.includes('layouts/IframePageView')) {
|
this.$router.push({ path: route.url })
|
||||||
window.open(route.url, '_blank')
|
|
||||||
} else {
|
|
||||||
this.$router.push({ path: route.url })
|
|
||||||
}
|
|
||||||
this.searchMenuVisible = false
|
this.searchMenuVisible = false
|
||||||
},
|
},
|
||||||
// update_end author:sunjianlei date:20191230 for: 解决外部链接打开失败的问题
|
// update_end author:sunjianlei date:20191230 for: 解决外部链接打开失败的问题
|
||||||
|
|||||||
Reference in New Issue
Block a user