|
@@ -143,7 +143,7 @@ window.abortAjax = '';
|
|
|
const post = function (url, data, opts) {
|
|
|
if(localStorage.getItem('toLogin')==='1'){
|
|
|
//如果前面已经被标记为登录失效,接下来的请求都不发送
|
|
|
- return;
|
|
|
+ return new Promise(()=>{});
|
|
|
}
|
|
|
let isPlacefile = getCookie('isPlacefile') || 1;
|
|
|
const token = localStorage.getItem('accessToken');
|