Skip to content

Commit 5252480

Browse files
authored
fix: missing await in department form(vbenjs#5967)
1 parent d18f561 commit 5252480

File tree

1 file changed

+1
-1
lines changed
  • playground/src/views/system/dept/modules

1 file changed

+1
-1
lines changed

playground/src/views/system/dept/modules/form.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const [Modal, modalApi] = useVbenModal({
3737
const { valid } = await formApi.validate();
3838
if (valid) {
3939
modalApi.lock();
40-
const data = formApi.getValues();
40+
const data = await formApi.getValues();
4141
try {
4242
await (formData.value?.id
4343
? updateDept(formData.value.id, data)

0 commit comments

Comments
 (0)