mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-08 11:07:34 +08:00
fix: setup 迁移完成 v1
This commit is contained in:
@@ -106,7 +106,7 @@ const resetPassword = async () => {
|
||||
const data = await res.json()
|
||||
if (res.ok) {
|
||||
toast.success('密码已重置')
|
||||
router.push('/login')
|
||||
navigateTo('/login', { replace: true })
|
||||
} else if (data.field === 'password') {
|
||||
passwordError.value = data.error
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user