Browse Source

fix:企业搜索联想跳转逻辑调整、工作台内招标搜索tab指向逻辑调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 year ago
parent
commit
dcf577f84f

+ 1 - 1
src/web/staticres/js/ent-search-index-pc.js

@@ -1087,7 +1087,7 @@ var entSearch = new Vue({
               openLoginDig(null, svipLink)
               return
             } else {
-                if (!this.inIframe) {
+                if (!this.inIframe && seoId) {
                     // 工作桌面外跳转seo画像
                     return window.open(seoUrl)
                 }

+ 1 - 0
src/web/templates/pc/supsearch.html

@@ -2020,6 +2020,7 @@
         $('.search-tab-right').hide()
         $('.badge-recommend').show()
         $('.search-tab-item-0').show()
+        searchInnerVue.searchTab = 0
       }
       if(getParam('tab') === '2') {
         searchInnerVue.searchTab = 2