[Doc] use relative path for links (#4093)

This commit is contained in:
neverland
2019-08-12 10:18:37 +08:00
committed by GitHub
parent 26aac6037b
commit f4125bceb8
8 changed files with 10 additions and 10 deletions

View File

@@ -65,17 +65,17 @@ export default {
return [{
title: this.$t('goodsDetail'),
preview: 'https://img.yzcdn.cn/public_files/2017/10/24/7070a8d1d6504b864c605114d32f2aae.png',
url: 'https://youzan.github.io/vant-demo/#/goods',
url: '/vant-demo/#/goods',
source: 'https://github.com/youzan/vant-demo/blob/master/base/src/view/goods/index.vue'
}, {
title: this.$t('userCenter'),
preview: 'https://img.yzcdn.cn/public_files/2017/10/23/e1d70757e3ab88d39a360b704be8f43f.png',
url: 'https://youzan.github.io/vant-demo/#/user',
url: '/vant-demo/#/user',
source: 'https://github.com/youzan/vant-demo/blob/master/base/src/view/user/index.vue'
}, {
title: this.$t('shoppingCart'),
preview: 'https://img.yzcdn.cn/public_files/2017/10/24/06b8b5ed3692314d434db7f6854dcdbe.png',
url: 'https://youzan.github.io/vant-demo/#/cart',
url: '/vant-demo/#/cart',
source: 'https://github.com/youzan/vant-demo/blob/master/base/src/view/cart/index.vue'
}];
}

View File

@@ -28,7 +28,7 @@ export default {
logoLink: [
{
image: 'https://b.yzcdn.cn/vant/logo/weapp.svg',
url: 'https://youzan.github.io/vant-weapp'
url: '/vant-weapp'
},
{
image: 'https://b.yzcdn.cn/vant/logo/github.svg',