chore: promise.all
This commit is contained in:
parent
81bb5fb5fe
commit
dacb49d0db
@ -50,8 +50,7 @@ async function loadTenant() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await loadCaptcha();
|
await Promise.all([loadCaptcha(), loadTenant()]);
|
||||||
await loadTenant();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const formSchema = computed((): VbenFormSchema[] => {
|
const formSchema = computed((): VbenFormSchema[] => {
|
||||||
|
Loading…
Reference in New Issue
Block a user