mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 08:57:19 +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" });
|
message("登录成功", { type: "success" });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
|
.finally(() => (loading.value = false));
|
||||||
} else {
|
} else {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
return fields;
|
return fields;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user