Commit 887d3e83 authored by 季圣华's avatar 季圣华
Browse files

优化菜单搜索框

parent 3a2da03a
...@@ -188,11 +188,7 @@ ...@@ -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: 解决外部链接打开失败的问题
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment