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
+3 -3
View File
@@ -103,15 +103,15 @@ export default {
const options = [
{
name: 'Name',
icon: 'https://img01.yzcdn.cn/vant/custom-icon-fire.png',
icon: 'https://img.yzcdn.cn/vant/custom-icon-fire.png',
},
{
name: 'Name',
icon: 'https://img01.yzcdn.cn/vant/custom-icon-light.png',
icon: 'https://img.yzcdn.cn/vant/custom-icon-light.png',
},
{
name: 'Name',
icon: 'https://img01.yzcdn.cn/vant/custom-icon-water.png',
icon: 'https://img.yzcdn.cn/vant/custom-icon-water.png',
},
];
+3 -3
View File
@@ -117,15 +117,15 @@ export default {
const options = [
{
name: '名称',
icon: 'https://img01.yzcdn.cn/vant/custom-icon-fire.png',
icon: 'https://img.yzcdn.cn/vant/custom-icon-fire.png',
},
{
name: '名称',
icon: 'https://img01.yzcdn.cn/vant/custom-icon-light.png',
icon: 'https://img.yzcdn.cn/vant/custom-icon-light.png',
},
{
name: '名称',
icon: 'https://img01.yzcdn.cn/vant/custom-icon-water.png',
icon: 'https://img.yzcdn.cn/vant/custom-icon-water.png',
},
];
+1 -1
View File
@@ -35,7 +35,7 @@ const popupKeys = [
function getIconURL(icon: string) {
if (PRESET_ICONS.includes(icon)) {
return `https://img01.yzcdn.cn/vant/share-sheet-${icon}.png`;
return `https://img.yzcdn.cn/vant/share-sheet-${icon}.png`;
}
return icon;
}
+3 -3
View File
@@ -119,15 +119,15 @@ export default {
const customIconOptions = computed(() => [
{
name: t('name'),
icon: 'https://img01.yzcdn.cn/vant/custom-icon-fire.png',
icon: 'https://img.yzcdn.cn/vant/custom-icon-fire.png',
},
{
name: t('name'),
icon: 'https://img01.yzcdn.cn/vant/custom-icon-light.png',
icon: 'https://img.yzcdn.cn/vant/custom-icon-light.png',
},
{
name: t('name'),
icon: 'https://img01.yzcdn.cn/vant/custom-icon-water.png',
icon: 'https://img.yzcdn.cn/vant/custom-icon-water.png',
},
]);