mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix swiper document (#2516)
This commit is contained in:
parent
b3f587c7d0
commit
2a2ab4c929
@ -105,13 +105,12 @@ export default {
|
||||
|
||||
```js
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
current: 0
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
data() {
|
||||
return {
|
||||
current: 0
|
||||
}
|
||||
},
|
||||
|
||||
onChange(index) {
|
||||
this.current = index;
|
||||
}
|
||||
|
@ -105,13 +105,12 @@ export default {
|
||||
|
||||
```js
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
current: 0
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
data() {
|
||||
return {
|
||||
current: 0
|
||||
}
|
||||
},
|
||||
|
||||
onChange(index) {
|
||||
this.current = index;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user