Przeglądaj źródła

Revert "没权限不跳登陆"

This reverts commit db1f9fd58074686bc2f20905b7dc046a49874546.
zhangxc 5 lat temu
rodzic
commit
11f39c2f0b
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
       },