Przeglądaj źródła

fix: 画像搜索跳转修复

cuiyalong 1 rok temu
rodzic
commit
d7c5b902f2

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

@@ -1083,7 +1083,7 @@ var entSearch = new Vue({
             var seoUrl = '/qy/' + seoId + '.html'
             if (!loginflag) {
                 // 未登录,跳转seo画像
-                window.open(seoUrl)
+                return window.open(seoUrl)
             }
             let BIPage = ''
             if (this.getBIParams) {

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

@@ -828,7 +828,7 @@ var vm = new Vue({
             var seoUrl = '/dw/' + seoId + '.html'
             if (!loginflag) {
               // 未登录,跳转seo画像
-              window.open(seoUrl)
+              return window.open(seoUrl)
             }
             // 是渠道合作页面需要登录后重定向
             const BIPge = this.getBIParams ? '?resource=BI' : ''