Skip to content

Commit

Permalink
fix(front): 服务模板的表格分页点击失效 (close #105)
Browse files Browse the repository at this point in the history
  • Loading branch information
GONGONGONG authored and zhangzhw8 committed Nov 23, 2021
1 parent 5b16430 commit e6997d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/views/ProcessAttribute/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ export default {
}
},
handlePageChange({ page, limit }) {
Object(this.pagination, {
Object.assign(this.pagination, {
current: page || 1,
limit,
});
Expand Down Expand Up @@ -941,7 +941,7 @@ export default {
if (undoneRule && undoneRule.length) {
data = data.filter(item => undoneRule.some(rule => !item[rule.field]));
}
data = data.slice(page.start, page.limit);
data = data.slice(page.start, page.start + page.limit);
return data;
},
handleUpdateTree(list) {
Expand Down

0 comments on commit e6997d2

Please sign in to comment.