mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-09 03:27:32 +08:00
feat: fix 注册失败和登录失败
This commit is contained in:
@@ -187,7 +187,6 @@ export default {
|
||||
username: this.username
|
||||
})
|
||||
})
|
||||
this.isWaitingForEmailVerified = false
|
||||
const data = await res.json()
|
||||
if (res.ok) {
|
||||
if (this.registerMode === 'WHITELIST') {
|
||||
@@ -201,6 +200,8 @@ export default {
|
||||
}
|
||||
} catch (e) {
|
||||
toast.error('注册失败')
|
||||
} finally {
|
||||
this.isWaitingForEmailVerified = false
|
||||
}
|
||||
},
|
||||
signupWithGithub() {
|
||||
|
||||
Reference in New Issue
Block a user