Browse Source

替换菜单为接口获取

yangxiao 3 years ago
parent
commit
4cca25c4a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/api/axios.js

+ 1 - 1
src/api/axios.js

@@ -75,7 +75,7 @@ export function requestData (options) {
         localStorage.removeItem('authToken');
         Message.error((response.data && response.data.msg) || ("请求出错[" + response.data.code + "]"));
         setTimeout(() => {
-          window.location.reload();
+          // window.location.reload();
           // window.__STATICVUE__.$router.replace('/login');
         }, 1000);
       }