-
-`;
-
-exports[`renders ./components/upload/demo/picture-card.md correctly 1`] = `
-
@@ -1147,135 +1203,114 @@ exports[`renders ./components/upload/demo/picture-style.md correctly 1`] = `
diff --git a/components/upload/__tests__/__snapshots__/uploadlist.test.js.snap b/components/upload/__tests__/__snapshots__/uploadlist.test.js.snap
index b696d2c08e..67476e880d 100644
--- a/components/upload/__tests__/__snapshots__/uploadlist.test.js.snap
+++ b/components/upload/__tests__/__snapshots__/uploadlist.test.js.snap
@@ -28,53 +28,24 @@ exports[`Upload List handle error 1`] = `
class="ant-upload-list ant-upload-list-text"
>
-
-
+
-
-
-
- foo.png
-
-
-
+
-
-
-
-
-
@@ -145,90 +129,98 @@ exports[`Upload List should be uploading when upload a file 1`] = `
class="ant-upload-list ant-upload-list-text"
>
@@ -262,115 +254,123 @@ exports[`Upload List should be uploading when upload a file 2`] = `
class="ant-upload-list ant-upload-list-text"
>
@@ -403,912 +403,972 @@ exports[`Upload List should non-image format file preview 1`] = `
@@ -1341,102 +1401,114 @@ exports[`Upload List should support showRemoveIcon and showPreviewIcon 1`] = `
diff --git a/components/upload/demo/picture-card.md b/components/upload/demo/picture-card.md
index 254f57e09b..5abd8b902e 100644
--- a/components/upload/demo/picture-card.md
+++ b/components/upload/demo/picture-card.md
@@ -57,8 +57,7 @@ class PicturesWall extends React.Component {
{
uid: '-5',
name: 'image.png',
- status: 'done',
- url: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
+ status: 'error',
},
],
};
diff --git a/components/upload/demo/picture-style.md b/components/upload/demo/picture-style.md
index 96e971b73d..63605eca0d 100644
--- a/components/upload/demo/picture-style.md
+++ b/components/upload/demo/picture-style.md
@@ -27,9 +27,7 @@ const fileList = [
{
uid: '-2',
name: 'yyy.png',
- status: 'done',
- url: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
- thumbUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
+ status: 'error',
},
];