Merge pull request #4685 from autoboxer/issue-4684
fix(carousel): page attribute not updating shown itemspull/4694/head
commit
e2d43eb803
|
@ -126,6 +126,12 @@ export default {
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
page(newValue) {
|
page(newValue) {
|
||||||
|
if (newValue > this.d_page) {
|
||||||
|
this.navForward({}, newValue);
|
||||||
|
} else if (newValue < this.d_page) {
|
||||||
|
this.navBackward({}, newValue);
|
||||||
|
}
|
||||||
|
|
||||||
this.d_page = newValue;
|
this.d_page = newValue;
|
||||||
},
|
},
|
||||||
circular(newValue) {
|
circular(newValue) {
|
||||||
|
|
Loading…
Reference in New Issue