Commit 3cde9dd2 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复 url 为空的问题

parent 73af155f
...@@ -133,7 +133,7 @@ const normalizeFileList = fileList => { ...@@ -133,7 +133,7 @@ const normalizeFileList = fileList => {
...file, ...file,
uid: file.uid || `${index}`, uid: file.uid || `${index}`,
status: getState(file.response) || getState(file), status: getState(file.response) || getState(file),
url: getURL(file) || getURL(file?.response), url: getURL(file) || getURL(file?.response)|| getURL(file?.response?.data),
thumbUrl: getImageByUrl( thumbUrl: getImageByUrl(
getThumbURL(file) || getThumbURL(file?.response), getThumbURL(file) || getThumbURL(file?.response),
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment