fix: missing await in department form(#5967)

pull/78/MERGE
zhouda1fu 2025-04-16 11:22:59 +08:00 committed by GitHub
parent d18f56177c
commit 5252480b09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ const [Modal, modalApi] = useVbenModal({
const { valid } = await formApi.validate();
if (valid) {
modalApi.lock();
const data = formApi.getValues();
const data = await formApi.getValues();
try {
await (formData.value?.id
? updateDept(formData.value.id, data)