解决超时中断报错
This commit is contained in:
@@ -172,7 +172,7 @@ const getNewestAct = () => {
|
||||
},
|
||||
complete: function (XMLHttpRequest, status) {
|
||||
if (status == 'timeout') {
|
||||
xhr.abort()// 超时后中断请求
|
||||
XMLHttpRequest.abort()// 超时后中断请求
|
||||
hideLoading(layerIndex);
|
||||
toastMsg('網絡開小差,請退出重進,開獎結果可通過【遊戲記錄】/【往輪結果】查看~')
|
||||
}
|
||||
|
Reference in New Issue
Block a user