|
@@ -105,7 +105,7 @@ const getUrlArgObjectNew = function(name,srcUrl) {
|
|
|
}
|
|
|
return obj[name]
|
|
|
}
|
|
|
-
|
|
|
+window.abortAjax = ''
|
|
|
const post = function (url, data) {
|
|
|
let isPlacefile = getCookie('isPlacefile')||1
|
|
|
const token = getCookie('accessToken') || localStorage.getItem('accessToken')
|
|
@@ -121,7 +121,7 @@ const post = function (url, data) {
|
|
|
}
|
|
|
let need = window.location.href.indexOf('localhost')!=-1
|
|
|
return new Utils((resolve, reject) => {
|
|
|
- $.ajax({
|
|
|
+ abortAjax = $.ajax({
|
|
|
method: 'post',
|
|
|
url: (need?baseUrl:'')+url,
|
|
|
async:true,
|