mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
✅ fix snapshot
This commit is contained in:
parent
5742ae221c
commit
518bf8c929
@ -1,17 +1,13 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`renders ./components/upload/demo/avatar.md correctly 1`] = `
|
exports[`renders ./components/upload/demo/avatar.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
class="clearfix"
|
class="avatar-uploader ant-upload-picture-card-wrapper"
|
||||||
>
|
>
|
||||||
<span
|
<div
|
||||||
class="avatar-uploader"
|
class="ant-upload ant-upload-select ant-upload-select-picture-card"
|
||||||
>
|
/>
|
||||||
<div
|
</span>
|
||||||
class="ant-upload ant-upload-select ant-upload-select-picture-card"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/upload/demo/basic.md correctly 1`] = `
|
exports[`renders ./components/upload/demo/basic.md correctly 1`] = `
|
||||||
@ -322,7 +318,7 @@ exports[`renders ./components/upload/demo/picture-card.md correctly 1`] = `
|
|||||||
class="clearfix"
|
class="clearfix"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class=""
|
class="ant-upload-picture-card-wrapper"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-upload-list ant-upload-list-picture-card"
|
class="ant-upload-list ant-upload-list-picture-card"
|
||||||
@ -341,7 +337,8 @@ exports[`renders ./components/upload/demo/picture-card.md correctly 1`] = `
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="xxx.png"
|
alt="image.png"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
@ -350,9 +347,337 @@ exports[`renders ./components/upload/demo/picture-card.md correctly 1`] = `
|
|||||||
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
title="xxx.png"
|
title="image.png"
|
||||||
>
|
>
|
||||||
xxx.png
|
image.png
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-upload-list-item-actions"
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
title="Preview file"
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
aria-label="icon: eye-o"
|
||||||
|
class="anticon anticon-eye-o"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
class=""
|
||||||
|
data-icon="eye"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</i>
|
||||||
|
</a>
|
||||||
|
<i
|
||||||
|
aria-label="icon: delete"
|
||||||
|
class="anticon anticon-delete"
|
||||||
|
tabindex="-1"
|
||||||
|
title="Remove file"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
class=""
|
||||||
|
data-icon="delete"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</i>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="ant-upload-list-item ant-upload-list-item-done"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="ant-upload-list-item-info"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
<a
|
||||||
|
class="ant-upload-list-item-thumbnail"
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
alt="image.png"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="ant-upload-list-item-name"
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
title="image.png"
|
||||||
|
>
|
||||||
|
image.png
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-upload-list-item-actions"
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
title="Preview file"
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
aria-label="icon: eye-o"
|
||||||
|
class="anticon anticon-eye-o"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
class=""
|
||||||
|
data-icon="eye"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</i>
|
||||||
|
</a>
|
||||||
|
<i
|
||||||
|
aria-label="icon: delete"
|
||||||
|
class="anticon anticon-delete"
|
||||||
|
tabindex="-1"
|
||||||
|
title="Remove file"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
class=""
|
||||||
|
data-icon="delete"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</i>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="ant-upload-list-item ant-upload-list-item-done"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="ant-upload-list-item-info"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
<a
|
||||||
|
class="ant-upload-list-item-thumbnail"
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
alt="image.png"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="ant-upload-list-item-name"
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
title="image.png"
|
||||||
|
>
|
||||||
|
image.png
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-upload-list-item-actions"
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
title="Preview file"
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
aria-label="icon: eye-o"
|
||||||
|
class="anticon anticon-eye-o"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
class=""
|
||||||
|
data-icon="eye"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</i>
|
||||||
|
</a>
|
||||||
|
<i
|
||||||
|
aria-label="icon: delete"
|
||||||
|
class="anticon anticon-delete"
|
||||||
|
tabindex="-1"
|
||||||
|
title="Remove file"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
class=""
|
||||||
|
data-icon="delete"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</i>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="ant-upload-list-item ant-upload-list-item-done"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="ant-upload-list-item-info"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
<a
|
||||||
|
class="ant-upload-list-item-thumbnail"
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
alt="image.png"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="ant-upload-list-item-name"
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
title="image.png"
|
||||||
|
>
|
||||||
|
image.png
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-upload-list-item-actions"
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
title="Preview file"
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
aria-label="icon: eye-o"
|
||||||
|
class="anticon anticon-eye-o"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
class=""
|
||||||
|
data-icon="eye"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</i>
|
||||||
|
</a>
|
||||||
|
<i
|
||||||
|
aria-label="icon: delete"
|
||||||
|
class="anticon anticon-delete"
|
||||||
|
tabindex="-1"
|
||||||
|
title="Remove file"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
class=""
|
||||||
|
data-icon="delete"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</i>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="ant-upload-list-item ant-upload-list-item-done"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="ant-upload-list-item-info"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
<a
|
||||||
|
class="ant-upload-list-item-thumbnail"
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
alt="image.png"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="ant-upload-list-item-name"
|
||||||
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
title="image.png"
|
||||||
|
>
|
||||||
|
image.png
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -442,6 +767,7 @@ exports[`renders ./components/upload/demo/picture-style.md correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="xxx.png"
|
alt="xxx.png"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
@ -493,6 +819,7 @@ exports[`renders ./components/upload/demo/picture-style.md correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="yyy.png"
|
alt="yyy.png"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
@ -557,6 +884,7 @@ exports[`renders ./components/upload/demo/picture-style.md correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="xxx.png"
|
alt="xxx.png"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
@ -608,6 +936,7 @@ exports[`renders ./components/upload/demo/picture-style.md correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="yyy.png"
|
alt="yyy.png"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
|
@ -440,6 +440,7 @@ exports[`Upload List should non-image format file preview 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="image"
|
alt="image"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="https://cdn.xxx.com/aaa"
|
src="https://cdn.xxx.com/aaa"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
@ -633,6 +634,7 @@ exports[`Upload List should non-image format file preview 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="image"
|
alt="image"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="https://cdn.xxx.com/xx.xx/aaa.png"
|
src="https://cdn.xxx.com/xx.xx/aaa.png"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
@ -684,6 +686,7 @@ exports[`Upload List should non-image format file preview 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="image"
|
alt="image"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="data:image/png;base64,UEsDBAoAAAAAADYZYkwAAAAAAAAAAAAAAAAdAAk"
|
src="data:image/png;base64,UEsDBAoAAAAAADYZYkwAAAAAAAAAAAAAAAAdAAk"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
@ -735,6 +738,7 @@ exports[`Upload List should non-image format file preview 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="image"
|
alt="image"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="https://cdn.xxx.com/xx.xx/aaa.png?query=123"
|
src="https://cdn.xxx.com/xx.xx/aaa.png?query=123"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
@ -786,6 +790,7 @@ exports[`Upload List should non-image format file preview 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="image"
|
alt="image"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="https://cdn.xxx.com/xx.xx/aaa.png#anchor"
|
src="https://cdn.xxx.com/xx.xx/aaa.png#anchor"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
@ -837,6 +842,7 @@ exports[`Upload List should non-image format file preview 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="image"
|
alt="image"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="https://cdn.xxx.com/xx.xx/aaa.png?query=some.query.with.dot"
|
src="https://cdn.xxx.com/xx.xx/aaa.png?query=some.query.with.dot"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
@ -888,6 +894,7 @@ exports[`Upload List should non-image format file preview 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="image"
|
alt="image"
|
||||||
|
class="ant-upload-list-item-image"
|
||||||
src="https://publish-pic-cpu.baidu.com/1296beb3-50d9-4276-885f-52645cbb378e.jpeg@w_228%2ch_152"
|
src="https://publish-pic-cpu.baidu.com/1296beb3-50d9-4276-885f-52645cbb378e.jpeg@w_228%2ch_152"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user