浏览代码

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

fuwencai 1 年之前
父节点
当前提交
c8c6273981
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {