Browse Source

基础form组件修改 加载状态

master
陈薪名 1 year ago
parent
commit
b077730965
  1. 2
      src/components/BasicForm/src/BasicForm.vue

2
src/components/BasicForm/src/BasicForm.vue

@ -231,8 +231,10 @@ const submitForm = async () => {
if (!validateForm) { if (!validateForm) {
if (props.tableData.length == 0) { if (props.tableData.length == 0) {
message.warning('请填写明细信息!') message.warning('请填写明细信息!')
formLoading.value = false
return return
} }
formLoading.value = false
return return
} }
// //

Loading…
Cancel
Save