Commit ba42d8e6 authored by 郝聪敏's avatar 郝聪敏

fix: 修改登录地址

parent 04f01a5f
...@@ -123,7 +123,7 @@ instance.interceptors.response.use( ...@@ -123,7 +123,7 @@ instance.interceptors.response.use(
if (err.response) { if (err.response) {
switch (err.response.status) { switch (err.response.status) {
case 401: case 401:
window.location.href = `${window.location.origin}/editor/login`; window.location.href = `${window.location.origin}/${window.__POWERED_BY_QIANKUN__ ? 'access' : 'editor'}/login`;
return; return;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment