Commit bec0b6f3 by 张杰

修复分页bug

1 parent 461865e3
...@@ -154,6 +154,7 @@ export default { ...@@ -154,6 +154,7 @@ export default {
restParams() { restParams() {
// this.pageSize = 10; // this.pageSize = 10;
this.currentPage = 1; this.currentPage = 1;
this.pageSize = 10
}, },
}, },
}; };
......
...@@ -161,6 +161,7 @@ export default { ...@@ -161,6 +161,7 @@ export default {
// 重置 // 重置
rest() { rest() {
this.$refs.glsxTable.restParams()
this.tableParams = {}; this.tableParams = {};
this.searchForm = { queryTimeType: 1 }; this.searchForm = { queryTimeType: 1 };
//this.$refs.glsxTable.getList(); //this.$refs.glsxTable.getList();
......
...@@ -161,6 +161,7 @@ export default { ...@@ -161,6 +161,7 @@ export default {
// 重置 // 重置
rest() { rest() {
this.$refs.glsxTable.restParams()
this.tableParams = {}; this.tableParams = {};
this.searchForm = {queryTimeType: 1 }; this.searchForm = {queryTimeType: 1 };
//this.$refs.glsxTable.rest(); //this.$refs.glsxTable.rest();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!