emit current update when page changed

This commit is contained in:
Rijn 2017-08-10 11:28:44 -05:00
parent f3c6cd68d1
commit 6355250e52
2 changed files with 8 additions and 1 deletions

View file

@ -214,6 +214,7 @@
changePage (page) {
if (this.currentPage != page) {
this.currentPage = page;
this.$emit('update:current', page);
this.$emit('on-change', page);
}
},