[Doc] add version tip (#1219)

This commit is contained in:
neverland
2018-06-03 17:37:23 +08:00
committed by GitHub
parent 1a43eb7951
commit 4eb328ae08
3 changed files with 8 additions and 4 deletions

View File

@@ -1,10 +1,13 @@
/* eslint-disable */
const version = require('../../package.json').version;
module.exports = {
'zh-CN': {
header: {
logo: {
image: 'https://img.yzcdn.cn/public_files/2017/12/18/fd78cf6bb5d12e2a119d0576bedfd230.png',
title: 'Vant',
version,
href: '#/'
},
nav: {
@@ -300,6 +303,7 @@ module.exports = {
logo: {
image: 'https://img.yzcdn.cn/public_files/2017/12/18/fd78cf6bb5d12e2a119d0576bedfd230.png',
title: 'Vant',
version,
href: '#/'
},
nav: {