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
@@ -106,7 +106,7 @@ If you need to render vue components within a dialog, you can use dialog compone
```html
<van-dialog v-model:show="show" title="Title" show-cancel-button>
<img src="https://img.yzcdn.cn/vant/apple-3.jpg" />
<img src="https://img01.yzcdn.cn/vant/apple-3.jpg" />
</van-dialog>
```
+1 -1
View File
@@ -139,7 +139,7 @@ export default {
```html
<van-dialog v-model:show="show" title="标题" show-cancel-button>
<img src="https://img.yzcdn.cn/vant/apple-3.jpg" />
<img src="https://img01.yzcdn.cn/vant/apple-3.jpg" />
</van-dialog>
```
+1 -1
View File
@@ -108,7 +108,7 @@ export default {
return {
t,
show,
image: 'https://img.yzcdn.cn/vant/apple-3.jpg',
image: 'https://img01.yzcdn.cn/vant/apple-3.jpg',
onClickAlert,
onClickAlert2,
onClickRound,
@@ -104,7 +104,7 @@ exports[`should render demo and match snapshot 1`] = `
Title
</div>
<div class="van-dialog__content">
<img src="https://img.yzcdn.cn/vant/apple-3.jpg">
<img src="https://img01.yzcdn.cn/vant/apple-3.jpg">
</div>
<div class="van-hairline--top van-dialog__footer">
<button type="button"