chore: update image demo snapshot

This commit is contained in:
afc163 2022-08-10 17:17:37 +08:00
parent 32bb2fe61b
commit 956d332c01
2 changed files with 30 additions and 0 deletions

View File

@ -8,6 +8,7 @@ exports[`renders ./components/image/demo/basic.md extend context correctly 1`] =
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
width="200"
/>
<div
class="ant-image-mask"
@ -58,9 +59,11 @@ Array [
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?x-oss-process=image/blur,r_50,s_50/quality,q_1/resize,m_mfit,h_200,w_200"
style="display:none"
width="200"
/>
<div
class="ant-image-mask"
style="display:none"
>
<div
class="ant-image-mask-info"
@ -98,8 +101,10 @@ exports[`renders ./components/image/demo/fallback.md extend context correctly 1`
>
<img
class="ant-image-img"
height="200"
src="error"
style="height:200px"
width="200"
/>
<div
class="ant-image-mask"
@ -147,6 +152,7 @@ exports[`renders ./components/image/demo/placeholder.md extend context correctly
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?undefined"
width="200"
/>
<div
aria-hidden="true"
@ -159,6 +165,7 @@ exports[`renders ./components/image/demo/placeholder.md extend context correctly
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?x-oss-process=image/blur,r_50,s_50/quality,q_1/resize,m_mfit,h_200,w_200"
width="200"
/>
</div>
</div>
@ -216,6 +223,7 @@ Array [
<img
class="ant-image-img"
src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
width="200"
/>
<div
class="ant-image-mask"
@ -253,6 +261,7 @@ Array [
<img
class="ant-image-img"
src="https://gw.alipayobjects.com/zos/antfincdn/aPkFc8Sj7n/method-draw-image.svg"
width="200"
/>
<div
class="ant-image-mask"
@ -295,6 +304,7 @@ Array [
<img
class="ant-image-img"
src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
width="150"
/>
<div
class="ant-image-mask"
@ -332,6 +342,7 @@ Array [
<img
class="ant-image-img"
src="https://gw.alipayobjects.com/zos/antfincdn/aPkFc8Sj7n/method-draw-image.svg"
width="150"
/>
<div
class="ant-image-mask"
@ -369,6 +380,7 @@ Array [
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
width="150"
/>
<div
class="ant-image-mask"
@ -411,6 +423,7 @@ Array [
<img
class="ant-image-img"
src="https://gw.alipayobjects.com/zos/antfincdn/LlvErxo8H9/photo-1503185912284-5271ff81b9a8.webp"
width="200"
/>
<div
class="ant-image-mask"
@ -564,6 +577,7 @@ exports[`renders ./components/image/demo/preview-mask.md extend context correctl
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
width="96"
/>
<div
class="ant-image-mask customize-mask"
@ -613,6 +627,7 @@ exports[`renders ./components/image/demo/previewSrc.md extend context correctly
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?x-oss-process=image/blur,r_50,s_50/quality,q_1/resize,m_mfit,h_200,w_200"
width="200"
/>
<div
class="ant-image-mask"

View File

@ -8,6 +8,7 @@ exports[`renders ./components/image/demo/basic.md correctly 1`] = `
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
width="200"
/>
<div
class="ant-image-mask"
@ -58,9 +59,11 @@ Array [
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?x-oss-process=image/blur,r_50,s_50/quality,q_1/resize,m_mfit,h_200,w_200"
style="display:none"
width="200"
/>
<div
class="ant-image-mask"
style="display:none"
>
<div
class="ant-image-mask-info"
@ -98,8 +101,10 @@ exports[`renders ./components/image/demo/fallback.md correctly 1`] = `
>
<img
class="ant-image-img"
height="200"
src="error"
style="height:200px"
width="200"
/>
<div
class="ant-image-mask"
@ -147,6 +152,7 @@ exports[`renders ./components/image/demo/placeholder.md correctly 1`] = `
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?undefined"
width="200"
/>
<div
aria-hidden="true"
@ -159,6 +165,7 @@ exports[`renders ./components/image/demo/placeholder.md correctly 1`] = `
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?x-oss-process=image/blur,r_50,s_50/quality,q_1/resize,m_mfit,h_200,w_200"
width="200"
/>
</div>
</div>
@ -216,6 +223,7 @@ Array [
<img
class="ant-image-img"
src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
width="200"
/>
<div
class="ant-image-mask"
@ -253,6 +261,7 @@ Array [
<img
class="ant-image-img"
src="https://gw.alipayobjects.com/zos/antfincdn/aPkFc8Sj7n/method-draw-image.svg"
width="200"
/>
<div
class="ant-image-mask"
@ -295,6 +304,7 @@ Array [
<img
class="ant-image-img"
src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
width="150"
/>
<div
class="ant-image-mask"
@ -332,6 +342,7 @@ Array [
<img
class="ant-image-img"
src="https://gw.alipayobjects.com/zos/antfincdn/aPkFc8Sj7n/method-draw-image.svg"
width="150"
/>
<div
class="ant-image-mask"
@ -369,6 +380,7 @@ Array [
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
width="150"
/>
<div
class="ant-image-mask"
@ -411,6 +423,7 @@ Array [
<img
class="ant-image-img"
src="https://gw.alipayobjects.com/zos/antfincdn/LlvErxo8H9/photo-1503185912284-5271ff81b9a8.webp"
width="200"
/>
<div
class="ant-image-mask"
@ -564,6 +577,7 @@ exports[`renders ./components/image/demo/preview-mask.md correctly 1`] = `
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
width="96"
/>
<div
class="ant-image-mask customize-mask"
@ -613,6 +627,7 @@ exports[`renders ./components/image/demo/previewSrc.md correctly 1`] = `
<img
class="ant-image-img"
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?x-oss-process=image/blur,r_50,s_50/quality,q_1/resize,m_mfit,h_200,w_200"
width="200"
/>
<div
class="ant-image-mask"