docs: revert cdn URL (#8310)

This commit is contained in:
neverland
2021-03-08 17:19:56 +08:00
committed by GitHub
parent 8bae9ca0ed
commit 110af6f1f4
96 changed files with 249 additions and 268 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ import { ref } from 'vue';
export default {
setup() {
const value = ref([{ url: 'https://img01.yzcdn.cn/vant/leaf.jpg' }]);
const value = ref([{ url: 'https://img.yzcdn.cn/vant/leaf.jpg' }]);
return { value };
},
};
+1 -1
View File
@@ -324,7 +324,7 @@ import { ref } from 'vue';
export default {
setup() {
const value = ref([{ url: 'https://img01.yzcdn.cn/vant/leaf.jpg' }]);
const value = ref([{ url: 'https://img.yzcdn.cn/vant/leaf.jpg' }]);
return { value };
},
};
+1 -1
View File
@@ -127,7 +127,7 @@ export default {
radio: '1',
slider: 50,
stepper: 1,
uploader: [{ url: 'https://img01.yzcdn.cn/vant/leaf.jpg' }],
uploader: [{ url: 'https://img.yzcdn.cn/vant/leaf.jpg' }],
checkbox: false,
checkboxGroup: [],
switchChecked: false,
@@ -409,7 +409,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-uploader__wrapper">
<div class="van-uploader__preview">
<div class="van-image van-uploader__preview-image">
<img src="https://img01.yzcdn.cn/vant/leaf.jpg"
<img src="https://img.yzcdn.cn/vant/leaf.jpg"
class="van-image__img"
style="object-fit: cover;"
>