This commit is contained in:
神仙都没用 2023-10-07 16:39:28 +08:00
parent e2e573844b
commit 2f820e2972

View File

@ -127,13 +127,12 @@ async function toLogin() {
// //
router.push("/"); router.push("/");
} catch (err) { } catch (err: any) {
// //
refs.picCaptcha.refresh(); refs.picCaptcha.refresh();
if (err instanceof Error) { //
ElMessage.error(err.message); ElMessage.error(err.message);
}
} }
saving.value = false; saving.value = false;