mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 00:18:51 +08:00
perf: 优化登录页loading
判断
This commit is contained in:
parent
984bddbde2
commit
73b5d3ec41
@ -80,7 +80,8 @@ const onLogin = async (formEl: FormInstance | undefined) => {
|
||||
message("登录成功", { type: "success" });
|
||||
});
|
||||
}
|
||||
});
|
||||
})
|
||||
.finally(() => (loading.value = false));
|
||||
} else {
|
||||
loading.value = false;
|
||||
return fields;
|
||||
|
Loading…
x
Reference in New Issue
Block a user