fix swiper document (#2516)

This commit is contained in:
郝宇帆 2019-01-15 09:24:25 +08:00 committed by neverland
parent b3f587c7d0
commit 2a2ab4c929
2 changed files with 10 additions and 12 deletions

View File

@ -105,13 +105,12 @@ export default {
```js
export default {
data() {
return {
current: 0
}
},
methods: {
data() {
return {
current: 0
}
},
onChange(index) {
this.current = index;
}

View File

@ -105,13 +105,12 @@ export default {
```js
export default {
data() {
return {
current: 0
}
},
methods: {
data() {
return {
current: 0
}
},
onChange(index) {
this.current = index;
}