From ca06b2ffab0365003cf1aff15b00c3eacfbcbb04 Mon Sep 17 00:00:00 2001 From: WispX <1591788658@qq.com> Date: Thu, 19 Mar 2020 13:47:57 +0800 Subject: [PATCH] :bug: Fixing a bug. --- public/static/app/js/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/static/app/js/app.js b/public/static/app/js/app.js index 83d4d9ed..53c88a81 100644 --- a/public/static/app/js/app.js +++ b/public/static/app/js/app.js @@ -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, '系统提示'); } });