Skip to content

Commit

Permalink
🐛 Fixing a bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
wisp-x committed Mar 19, 2020
1 parent 98b3b2d commit ca06b2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/static/app/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ var app = {
if (res.code) {
upgradeCallback();
} else {
$d.close();
loading = false;
mdui.alert(res.msg, '系统提示', function () {
history.go(0);
}, {
Expand All @@ -207,6 +209,8 @@ var app = {
}
},
error: function () {
$d.close();
loading = false;
mdui.alert(error, '系统提示');
}
});
Expand Down

0 comments on commit ca06b2f

Please sign in to comment.