🌈 style: 更换测试环境ip
This commit is contained in:
parent
c85f2f8320
commit
7312d2c1c3
|
@ -7,8 +7,8 @@ let baseurl = '';
|
|||
let download_url = 'https://ewm.83323.cn';
|
||||
// 测试环境
|
||||
if (process.env.NODE_ENV == 'test' || process.env.NODE_ENV == 'development') {
|
||||
baseurl = 'http://192.168.6.75';
|
||||
window.baseurl = 'http://192.168.6.75';
|
||||
baseurl = 'http://test.marketapi.1688sup.com';
|
||||
window.baseurl = 'http://test.marketapi.1688sup.com';
|
||||
window.unifiedUrl = 'http://test.user.1688sup.com/';
|
||||
}
|
||||
|
||||
|
@ -239,7 +239,7 @@ const req = (method, url, params, responseType) => {
|
|||
Notify.clear();
|
||||
Notify.error(response.message);
|
||||
setTimeout(() => {
|
||||
// window.location.href = '/';
|
||||
window.location.href = '/';
|
||||
}, 2000);
|
||||
} else if (response.code == 401) {
|
||||
Notify.clear();
|
||||
|
|
Loading…
Reference in New Issue