Explorar o código

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

fuwencai hai 1 ano
pai
achega
c8c6273981
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {