关闭
{ if (!res.ok) { if (res.status === 418) { throw new Error(i18next.t('login_error_teapot')); } throw new Error(i18next.t('login_failed')); } return res.json(); }) .then(() => { window.location.href = window.ComiGoPath('/'); }) .catch(err => { error = err.message; }) .finally(() => { loading = false; }) ">