Skip to content

Commit

Permalink
Admin:解决请求失败后仍在 loading
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyLemon committed Jul 5, 2022
1 parent 0c9dff0 commit c9b8eed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3905,6 +3905,8 @@
App.onResponse(url, res, null)
})
.catch(function (err) {
App.isLoading = false

log('send >> error:\n' + err)
if (isAdminOperation) {
App.delegateId = null
Expand Down

0 comments on commit c9b8eed

Please sign in to comment.