yee 7 vuotta sitten
vanhempi
commit
b3c99d70b6
2 muutettua tiedostoa jossa 2 lisäystä ja 4 poistoa
  1. 1 2
      src/js/member.js
  2. 1 2
      src/js/thinkTank/thinkerDetail.js

+ 1 - 2
src/js/member.js

@@ -79,8 +79,7 @@ function loadData(pageNo) {
                         return;
                     }
                 } else {
-                    message('获取用户信息失败,请重新登录!');
-                    setTimeout("window.location.href = globalConfig.context + '/user/login.html'", 3000);
+                    $('.login').fadeIn(800)
                 }
             });
 

+ 1 - 2
src/js/thinkTank/thinkerDetail.js

@@ -53,8 +53,7 @@ $(function () {
                 setTimeout("window.location.href = globalConfig.context + '/user/account/index.html#normal'", 3000);
             }
         } else {
-            message('获取用户信息失败,请重新登录!');
-            setTimeout("window.location.href = globalConfig.context + '/user/login.html'", 3000);
+            $('.login').fadeIn(800)
         }
     });
     $('#submitOrder').click(function () {