Browse Source

feat:未登录搜索页登录后跳转调整

fuwencai 1 năm trước cách đây
mục cha
commit
c8c6273981
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/web/staticres/public-pc/js/header-nav-mini.js

+ 1 - 1
src/web/staticres/public-pc/js/header-nav-mini.js

@@ -115,7 +115,7 @@ var headerNavMini = {
     })
   },
   doLogin: function () {
-    if (location.pathname === '/') {
+    if (location.pathname === '/'||location.pathname === '/jylab/supsearch/index.html') {
       // 打开登录窗口,登录成功后去工作桌面
       openLoginDig(true)
     } else {