🐞 fix(ID1001432上传的图片不显示,数据为空):

This commit is contained in:
czm 2023-03-02 17:11:15 +08:00
parent 6a7779c637
commit 765a9b63fa
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
export const BASE_URL = CURRENT_BASE_URL // export const BASE_URL = CURRENT_BASE_URL
// export const BASE_URL = `http://192.168.0.75:50001/lymarket` // export const BASE_URL = `http://192.168.0.75:50001/lymarket`
// export const BASE_URL = `http://192.168.0.89:50001/lymarket` // export const BASE_URL = `http://192.168.0.89:50001/lymarket`
// export const BASE_URL = `http://10.0.0.5:50001/lymarket` // export const BASE_URL = `http://10.0.0.5:50001/lymarket`
@ -12,7 +12,7 @@ export const BASE_URL = CURRENT_BASE_URL
// export const BASE_URL = `https://dev.zzfzyc.com/lymarket` // 开发环境 // export const BASE_URL = `https://dev.zzfzyc.com/lymarket` // 开发环境
// export const BASE_URL = `https://www.zzfzyc.com/lymarket` // 正式环境 // export const BASE_URL = `https://www.zzfzyc.com/lymarket` // 正式环境
// export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞 // export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞
// export const BASE_URL = 'http://192.168.1.7:50002/lymarket' // 添 export const BASE_URL = 'http://192.168.1.7:50002/lymarket' // 添
// export const BASE_URL = 'http://192.168.1.42:50002/lymarket' // 杰 // export const BASE_URL = 'http://192.168.1.42:50002/lymarket' // 杰
// export const BASE_URL = `http://192.168.1.95:40001/lymarket` // 华 // export const BASE_URL = `http://192.168.1.95:40001/lymarket` // 华
// export const BASE_URL = 'http://192.168.1.28:50002/lymarket' // 婷 // export const BASE_URL = 'http://192.168.1.28:50002/lymarket' // 婷

View File

@ -87,6 +87,7 @@ const DeliveryDetail: FC = () => {
}) })
if (res.success) { if (res.success) {
alert.success('上传成功') alert.success('上传成功')
getData()
} }
else { else {
alert.error('上传核失败') alert.error('上传核失败')
@ -95,7 +96,7 @@ const DeliveryDetail: FC = () => {
// 审核 // 审核
const handleAudit = useCallback(() => { const handleAudit = useCallback(() => {
if (readyToUploadList.length === 0) { if (detailInfo?.delivery_appendix_url?.length === 0) {
alert.error('请先上传附件') alert.error('请先上传附件')
return return
} }