JumpToPageInput fixed
parent
2d90cf5227
commit
6530cc61b0
|
@ -24,11 +24,14 @@ export default {
|
|||
if (this.$refs.jtpInput && !this.$refs.jtpInput.focused) return;
|
||||
|
||||
this.$emit('page-change', newValue - 1);
|
||||
},
|
||||
page: {
|
||||
handler(newValue) {
|
||||
this.d_page = newValue;
|
||||
},
|
||||
immediate: true
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.d_page = this.page;
|
||||
},
|
||||
computed: {
|
||||
inputArialabel() {
|
||||
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.jumpToPageInputLabel : undefined;
|
||||
|
|
Loading…
Reference in New Issue