We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
currentPageIndex
initialIndex
1.10.10
https://codesandbox.io/s/jzy76zjroy
Change slide's initialIndex in page's mounted method.
mounted
Slide will init with new initialIndex value which was set in mounted
Slide still use the default initialIndex value in data()
data()
vue: 2.5.17 better-scroll: 1.12.0
I've created a PR, just with one line added to solve this problem.
The text was updated successfully, but these errors were encountered:
fix(slide): update currentIndex in scrollEnd handler
ef91b40
#278
1.10.11 fixed this issue
Sorry, something went wrong.
809153b
No branches or pull requests
Version
1.10.10
Reproduction link
https://codesandbox.io/s/jzy76zjroy
Steps to reproduce
Change slide's
initialIndex
in page'smounted
method.What is expected?
Slide will init with new
initialIndex
value which was set inmounted
What is actually happening?
Slide still use the default
initialIndex
value indata()
Dependencies Version
vue: 2.5.17
better-scroll: 1.12.0
I've created a PR, just with one line added to solve this problem.
The text was updated successfully, but these errors were encountered: