chore: promise.all

This commit is contained in:
dap 2024-11-05 11:04:59 +08:00
parent 81bb5fb5fe
commit dacb49d0db

View File

@ -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[] => {