Commit bb887c0d3f9ca7a5eafe33f4e4384e95f9737cbf
1 parent
84e312ef
fix(slide) update active slide index
Showing
1 changed file
with
1 additions
and
1 deletions
front-end/h5/src/components/plugins/lbp-slide__editor.js
| @@ -66,7 +66,7 @@ export default { | @@ -66,7 +66,7 @@ export default { | ||
| 66 | onChange={(page) => { | 66 | onChange={(page) => { |
| 67 | this.current = page | 67 | this.current = page |
| 68 | 68 | ||
| 69 | - this.activeIndex = page - 1 | 69 | + this.elementProps.activeIndex = page - 1 |
| 70 | // this.$emit('change', { | 70 | // this.$emit('change', { |
| 71 | // items: this.innerItems, | 71 | // items: this.innerItems, |
| 72 | // activeIndex: page - 1 | 72 | // activeIndex: page - 1 |