Browse Source

bug:这个存在,导致页面中控制loading无效--如发料申请新增

hella_online_20240829
wangyufei 4 months ago
parent
commit
404cafaa3a
  1. 16
      src/components/BasicForm/src/BasicForm.vue

16
src/components/BasicForm/src/BasicForm.vue

@ -706,20 +706,20 @@ const submitForm = async () => {
return
}
//
try {
// try {
const data = unref(formRef)?.formModel
emit('submitForm', formType.value, data)
} finally {
formLoading.value = false
}
// } finally {
// formLoading.value = false
// }
} else {
//
try {
// try {
const data = unref(formRef)?.formModel
emit('submitForm', formType.value, data)
} finally {
formLoading.value = false
}
// } finally {
// formLoading.value = false
// }
}
} else {
//

Loading…
Cancel
Save