fix(carousel): page attribute not updating shown items
parent
7a4690ad28
commit
10378473cc
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue