Browse Source

Revert "没权限不跳登陆"

This reverts commit db1f9fd58074686bc2f20905b7dc046a49874546.
zhangxc 5 years atrás
parent
commit
11f39c2f0b
1 changed files with 1 additions and 1 deletions
  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);
       },