|
|
@ -581,6 +581,7 @@ const submitForm = async () => { |
|
|
|
const data = unref(formRef)?.formModel |
|
|
|
emit('submitForm', formType.value, data) |
|
|
|
} finally { |
|
|
|
formLoading.value = false |
|
|
|
} |
|
|
|
} else { |
|
|
|
// 编辑 |
|
|
@ -588,6 +589,7 @@ const submitForm = async () => { |
|
|
|
const data = unref(formRef)?.formModel |
|
|
|
emit('submitForm', formType.value, data) |
|
|
|
} finally { |
|
|
|
formLoading.value = false |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|