fix(carousel): page attribute not updating shown items

This commit is contained in:
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

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) {