feat(pagination): change event

This commit is contained in:
07akioni 2020-01-05 22:45:08 +08:00
parent 69070f5922
commit b26f98da4e

View File

@ -169,7 +169,8 @@ export default {
}
},
watch: {
page () {
page (value) {
this.$emit('change', value)
this.transitionDisabled = true
this.$nextTick().then(() => {
this.$el.getBoundingClientRect()