diff --git a/components/upload/UploadList.jsx b/components/upload/UploadList.jsx index ed3144f43..2ecb63611 100644 --- a/components/upload/UploadList.jsx +++ b/components/upload/UploadList.jsx @@ -82,8 +82,8 @@ export default { file.thumbUrl = ''; /*eslint -enable */ previewFile(file.originFileObj, previewDataUrl => { - /*eslint-disable */ - file.thumbUrl = previewDataUrl; + // Need append '' to avoid dead loop + file.thumbUrl = previewDataUrl || ''; /*eslint -enable */ this.$forceUpdate(); });