浏览代码

Merge branch 'dev/v1.0.20_yf' of jianyu/web into feature/v1.0.20

yangfeng 1 年之前
父节点
当前提交
fda07ce4e7
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      packages/work-bench-frame/packages/components/Navbar/components/search.vue

+ 3 - 2
packages/work-bench-frame/packages/components/Navbar/components/search.vue

@@ -347,7 +347,7 @@ export default {
       if (!search.isLink) return
       this.$BRACE.methods.open({
         route: { 
-          link: search.url + encodeURIComponent(this.search.input),
+          link: search.url + encodeURIComponent(this.search.input + '&selectType=title'),
           appType: search.appType
         }
       })
@@ -404,10 +404,11 @@ export default {
       const { bidding } = this.navBarSearchInfo
       this.$BRACE.methods.open({
         route: { 
-          link: bidding.url + encodeURIComponent(this.search.input),
+          link: bidding.url + encodeURIComponent(this.search.input + '&selectType=title') ,
           appType: bidding.appType
         }
       })
+      this.popover.showPopover = false
     }
   }
 }