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 () => {
await loadCaptcha();
await loadTenant();
await Promise.all([loadCaptcha(), loadTenant()]);
});
const formSchema = computed((): VbenFormSchema[] => {