功能变化: 修复文件上传时预览bug

pull/102/head
李强 2023-07-09 11:45:37 +08:00
parent 1180ab205e
commit 5cff292fa9
1 changed files with 3 additions and 3 deletions

View File

@ -180,10 +180,10 @@ export default {
if (this.fileList.length > 0) {
const file = this.fileList[0]
log.debug('file,', file, file.status)
if (file.response != null && file.response.url != null) {
return file.response.url
} else if (file.url != null) {
if (file.url != null) {
return file.url
} else if (file.response != null && file.response.url != null) {
return file.response.url
}
}
return null