fix(carousel): page attribute not updating shown items

pull/4685/head
jcollier 2023-10-24 12:17:32 -04:00
parent 7a4690ad28
commit 10378473cc
No known key found for this signature in database
GPG Key ID: AEF7A623B650EC37
1 changed files with 6 additions and 0 deletions

View File

@ -126,6 +126,12 @@ export default {
},
watch: {
page(newValue) {
if (newValue > this.d_page) {
this.navForward({}, newValue);
} else if (newValue < this.d_page) {
this.navBackward({}, newValue);
}
this.d_page = newValue;
},
circular(newValue) {