Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Commit

Permalink
docs: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
liuwei committed Aug 19, 2019
1 parent 2934c13 commit aee2a2c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
9 changes: 6 additions & 3 deletions docs/.vuepress/components/EffectScatter.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<template>
<client-only>
<el-amap :events="events" :zoom="zoom" :center="center" :map-style="mapStyle" />
</client-only>
<el-amap
:events="events"
:zoom="zoom"
:center="center"
:map-style="mapStyle"
/>
</template>

<script>
Expand Down
9 changes: 6 additions & 3 deletions docs/.vuepress/components/Lines.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<template>
<client-only>
<el-amap :events="events" :zoom="zoom" :center="center" :map-style="mapStyle"></el-amap>
</client-only>
<el-amap
:events="events"
:zoom="zoom"
:center="center"
:map-style="mapStyle"
></el-amap>
</template>

<script>
Expand Down
7 changes: 4 additions & 3 deletions docs/example/effect-scatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

### 效果

<effect-scatter/>

<client-only>
<effect-scatter/>
</client-only>
### 代码

<<< @/docs/.vuepress/components/EffectScatter.vue
<<< @/docs/.vuepress/components/EffectScatter.vue
4 changes: 3 additions & 1 deletion docs/example/lines.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

### 效果

<lines />
<client-only>
<lines />
</client-only>

### 代码

Expand Down

0 comments on commit aee2a2c

Please sign in to comment.