Browse Source

loading没有实际效果,去掉,在页面回调函数里面单独加

hella_online_20240829
wangyufei 3 months ago
parent
commit
faed37f97c
  1. 4
      src/components/BasicForm/src/BasicForm.vue

4
src/components/BasicForm/src/BasicForm.vue

@ -696,7 +696,7 @@ const submitForm = async () => {
if (!valid) return
//
if (props.isBusiness) {
formLoading.value = true
// formLoading.value = true
if (formType.value == 'create') {
const validateForm = await tableFormRef.value.validateForm()
if (!validateForm && props.tableFormDataLength) {
@ -726,7 +726,7 @@ const submitForm = async () => {
}
} else {
//
formLoading.value = true
// formLoading.value = true
try {
const data = unref(formRef)?.formModel
emit('success', formType.value, data)

Loading…
Cancel
Save