Browse Source

feat: 如果加入失败刷新页面

master
欧醚 2 years ago
parent
commit
8cc8d149e1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      static/index.js

+ 1
- 0
static/index.js View File

@ -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();
}

Loading…
Cancel
Save