[Doc] update document site (#3620)

This commit is contained in:
neverland
2019-06-24 20:45:31 +08:00
committed by GitHub
parent 934923c949
commit 045c75669b
3 changed files with 6 additions and 21 deletions

View File

@@ -6,16 +6,7 @@
:title="title"
:left-arrow="showNav"
@click-left="onBack"
>
<a
v-if="showNav"
slot="right"
:href="demoLink"
target="_blank"
>
<van-icon name="edit" />
</a>
</van-nav-bar>
/>
<keep-alive>
<router-view :weapp="weapp" />
</keep-alive>
@@ -41,12 +32,6 @@ export default {
return name ? name.replace(/-/g, '') : '';
},
demoLink() {
return `https://github.com/youzan/vant/blob/dev/packages/${
this.$route.meta.path
}/demo/index.vue`;
},
showNav() {
return getQueryString('hide_nav') !== '1';
},