Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Mater1996/vue-photo-zoom-pro
Browse files Browse the repository at this point in the history
  • Loading branch information
mater1996 committed Feb 18, 2022
2 parents 20449f9 + f499b94 commit 87266ce
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
4 changes: 4 additions & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ module.exports = {
text: '示例',
link: '/zh/demo/image',
},
{
text: 'Playground',
link: '/playground/',
},
],
sidebar: {
'/zh/demo/': [
Expand Down
8 changes: 4 additions & 4 deletions docs/demo/full.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
```vue
<template>
<vue-photo-zoom-pro
:url="$withBase('/image.jpg')"
:highUrl="$withBase('/image-high.jpg')"
url="/image.jpg"
highUrl="/image-high.jpg"
:width="selectWidth"
:height="selectHeight"
@update="handleUpdate"
></vue-photo-zoom-pro>
</template>
<script>
import VuePhotoZoomPro from '../../../src/vue-photo-zoom-pro.vue'
import VuePhotoZoomPro from 'vue-photo-zoom-pro'
export default {
components: {
VuePhotoZoomPro,
Expand All @@ -35,4 +35,4 @@ export default {
},
}
</script>
```
```
2 changes: 1 addition & 1 deletion docs/demo/mini-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</template>
<script>
import VuePhotoZoomPro from '../../../src/vue-photo-zoom-pro.vue'
import VuePhotoZoomPro from 'vue-photo-zoom-pro'
const getScrollInfo = () => {
const { documentElement, body } = document
Expand Down
8 changes: 4 additions & 4 deletions docs/zh/demo/full.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
```vue
<template>
<vue-photo-zoom-pro
:url="$withBase('/image.jpg')"
:highUrl="$withBase('/image-high.jpg')"
url="/image.jpg"
highUrl="/image-high.jpg"
:width="selectWidth"
:height="selectHeight"
@update="handleUpdate"
></vue-photo-zoom-pro>
</template>
<script>
import VuePhotoZoomPro from '../../../src/vue-photo-zoom-pro.vue'
import VuePhotoZoomPro from 'vue-photo-zoom-pro'
export default {
components: {
VuePhotoZoomPro,
Expand All @@ -35,4 +35,4 @@ export default {
},
}
</script>
```
```
2 changes: 1 addition & 1 deletion docs/zh/demo/mini-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</template>
<script>
import VuePhotoZoomPro from '../../../src/vue-photo-zoom-pro.vue'
import VuePhotoZoomPro from 'vue-photo-zoom-pro'
const getScrollInfo = () => {
const { documentElement, body } = document
Expand Down

0 comments on commit 87266ce

Please sign in to comment.