docs: fix cdn link (#8023)

This commit is contained in:
neverland
2021-01-27 10:25:07 +08:00
committed by GitHub
parent 07678f2d6b
commit 67d44a0fa5
93 changed files with 267 additions and 250 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ Use the image prop to display different placeholder images.
```html
<van-empty
class="custom-image"
image="https://img.yzcdn.cn/vant/leaf.jpg"
image="https://img01.yzcdn.cn/vant/leaf.jpg"
description="Description"
/>
+1 -1
View File
@@ -42,7 +42,7 @@ Empty 组件内置了多种占位图片类型,可以在不同业务场景下
```html
<van-empty
class="custom-image"
image="https://img.yzcdn.cn/vant/custom-empty-image.png"
image="https://img01.yzcdn.cn/vant/custom-empty-image.png"
description="描述文字"
/>
+1 -1
View File
@@ -20,7 +20,7 @@
<demo-block :title="t('customImage')">
<van-empty
class="custom-image"
image="https://img.yzcdn.cn/vant/custom-empty-image.png"
image="https://img01.yzcdn.cn/vant/custom-empty-image.png"
:description="t('description')"
/>
</demo-block>
@@ -79,7 +79,7 @@ exports[`should render demo and match snapshot 1`] = `
<div>
<div class="van-empty custom-image">
<div class="van-empty__image">
<img src="https://img.yzcdn.cn/vant/custom-empty-image.png">
<img src="https://img01.yzcdn.cn/vant/custom-empty-image.png">
</div>
<p class="van-empty__description">
Description