mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-27 06:59:54 +08:00
Merge pull request #1317 from XiaoXinYo/master
Fix(frontend):初始化创建账号时弹出错误信息[object Object ]
This commit is contained in:
commit
f4181c9095
@ -44,7 +44,11 @@ const createUser = async () => {
|
||||
await updateUserInfo();
|
||||
step.value++;
|
||||
} catch (err: any) {
|
||||
reportErrorMsg(err.message);
|
||||
err.errorFields.forEach(field => {
|
||||
field.errors.forEach(error => {
|
||||
reportErrorMsg(error);
|
||||
});
|
||||
});
|
||||
} finally {
|
||||
installLoading.value = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user