|
@@ -211,12 +211,12 @@ export default {
|
|
|
this.$refs.table.clearSelection();
|
|
|
},
|
|
|
changePage(page = this.currentPage) {
|
|
|
- this.$emit('query', { skip: (page - 1) * this.limit, limit: this.limit, ...this.searchInfo });
|
|
|
+ this.$emit('query', { skip: page, limit: this.limit, ...this.searchInfo });
|
|
|
},
|
|
|
sizeChange(limit) {
|
|
|
this.limit = limit;
|
|
|
this.currentPage = 1;
|
|
|
- this.$emit('query', { skip: 0, limit: this.limit, ...this.searchInfo });
|
|
|
+ this.$emit('query', { skip: 1, limit: this.limit, ...this.searchInfo });
|
|
|
},
|
|
|
rowClick(row, column, event) {
|
|
|
this.$emit(`rowClick`, row);
|