Browse Source

导入模板校验是否为空

master_hella_20240701
chenfang 9 months ago
parent
commit
d3500c026e
  1. 6
      src/components/ImportForm/src/ImportForm.vue

6
src/components/ImportForm/src/ImportForm.vue

@ -245,11 +245,11 @@ const submitFormSuccess = (response: any) => {
// //
// downloadElement.click() // downloadElement.click()
}) })
} else if(response.data.errorCount = 0){ } else {
message.error('导入数据不能为空')
}else {
message.success('导入成功') message.success('导入成功')
} }
}else if(response.data == null){
message.error(response.msg)
} }
} }

Loading…
Cancel
Save