소스 검색

fix: 画像搜索跳转修复

cuiyalong 1 년 전
부모
커밋
d7c5b902f2
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/web/staticres/js/ent-search-index-pc.js
  2. 1 1
      src/web/staticres/js/pur-search-index-pc.js

+ 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' : ''