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