diff --git a/static/index.js b/static/index.js index 3775f88..732dc32 100644 --- a/static/index.js +++ b/static/index.js @@ -78,6 +78,7 @@ $('.join-form').submit(async function (e) { } catch (error) { console.error(error); alert('出错啦\n' + error); + window.location.reload(); } finally { $(this).find(".leave-btn").show(); }