This is an automated email from the ASF dual-hosted git repository.
menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-ui.git
The following commit(s) were added to refs/heads/master by this push:
new 0158b87 fix Page turning error (#72)
0158b87 is described below
commit 0158b87ac1a0f06a71eae172602bdc079cb6c988
Author: zshuo <[email protected]>
AuthorDate: Thu Jan 7 13:48:25 2021 +0800
fix Page turning error (#72)
---
shardingsphere-ui-frontend/src/views/data-scaling/module/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shardingsphere-ui-frontend/src/views/data-scaling/module/index.vue
b/shardingsphere-ui-frontend/src/views/data-scaling/module/index.vue
index 64a350a..4afdc45 100644
--- a/shardingsphere-ui-frontend/src/views/data-scaling/module/index.vue
+++ b/shardingsphere-ui-frontend/src/views/data-scaling/module/index.vue
@@ -560,7 +560,7 @@ export default {
},
handleCurrentChange(val) {
const data = clone(this.cloneTableData)
- this.tableData = data.splice(val - 1, this.pageSize)
+ this.tableData = data.splice((val - 1) * this.pageSize, this.pageSize)
},
getJobList() {
API.getJobList().then(res => {