Explorar o código

Revert "没权限不跳登陆"

This reverts commit db1f9fd58074686bc2f20905b7dc046a49874546.
zhangxc %!s(int64=5) %!d(string=hai) anos
pai
achega
11f39c2f0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/js/utils.js

+ 1 - 1
src/js/utils.js

@@ -118,7 +118,7 @@ const post = function (url, data) {
       error: function (error) {
         if(error.status===403||error.status===401){
           const wd = window.parent.window||window;
-          // wd.location.href = "../login.html";
+          wd.location.href = "../login.html";
         }
         reject(error);
       },