Browse Source

fix: 登录后逻辑调整

Signed-off-by: tangshizhe <2417024719@qq.com>
tangshizhe 1 year ago
parent
commit
26ff580a53
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/web/staticres/js/login.js

+ 2 - 1
src/web/staticres/js/login.js

@@ -554,8 +554,9 @@ var processpage = function(item,num){
   // 未登录标签页注册后重定向首页
   if (location.href.indexOf('/tags/') > -1) {
     window.location.replace('/')
-  } else if (location.href.indexOf('/nologin/content') > -1) {
+  } else if (location.href.indexOf('/nologin/content') > -1 || location.href.indexOf('/demand/detail') > -1) {
     // 未登录三级页注册后刷新(后端重定向到登陆后的三级页)
+    // /demand/detail 供应搜索三级页登录后刷新
     window.location.reload()
   }
 	clearInterval(loginfg);