We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 020121f commit 81e14efCopy full SHA for 81e14ef
Pagination.vue
@@ -40,8 +40,9 @@
40
pagination_data: function(){
41
const t = this;
42
43
- if(typeof t.pagination_data.current_page === 'number'){
+ if(typeof t.pagination_data.current_page === 'number' && t.currentPage !== t.pagination_data.current_page){
44
t.$emit('update:pagination_goto', t.pagination_data.current_page);
45
+ t.currentPage = t.pagination_data.current_page;
46
} else {
47
t.$emit('update:pagination_goto', false);
48
}
@@ -51,6 +52,12 @@
51
52
goto(page){
53
this.$emit('update:pagination_goto', page);
54
55
+ },
56
+ data() {
57
+ return {
58
+ currentPage: 1
59
+ };
60
61
62
</script>
63
+
0 commit comments