🐛 Fixing a bug.

This commit is contained in:
WispX
2020-03-19 13:47:57 +08:00
parent 98b3b2da71
commit ca06b2ffab
+4
View File
@@ -198,6 +198,8 @@ var app = {
if (res.code) {
upgradeCallback();
} else {
$d.close();
loading = false;
mdui.alert(res.msg, '系统提示', function () {
history.go(0);
}, {
@@ -207,6 +209,8 @@ var app = {
}
},
error: function () {
$d.close();
loading = false;
mdui.alert(error, '系统提示');
}
});