Commit 525f4715c4560b94f3bd0071a6e4e991c3fdf68f
1 parent
54e8889e
fix:修复分页异常
Showing
2 changed files
with
3 additions
and
5 deletions
src/views/basic/askTestQuestion/index.vue
| ... | ... | @@ -580,10 +580,8 @@ export default { |
| 580 | 580 | end: null, |
| 581 | 581 | type: this.dataType, //试卷类型 |
| 582 | 582 | share: this.tabType, //分享类型 |
| 583 | - }; | |
| 584 | - | |
| 585 | - | |
| 586 | - | |
| 583 | + }; | |
| 584 | + this.listPage.page = 1; | |
| 587 | 585 | queryParams.classId = this.query.class; |
| 588 | 586 | queryParams.subjectName = this.query.subject; |
| 589 | 587 | queryParams.tagId = this.query.tagId; | ... | ... |
src/views/basic/askTestQuestion/recycle.vue
| ... | ... | @@ -283,7 +283,7 @@ export default { |
| 283 | 283 | type: this.dataType, //试卷类型 |
| 284 | 284 | share: this.tabType, //分享类型 |
| 285 | 285 | }; |
| 286 | - | |
| 286 | + this.listPage.page = 1; | |
| 287 | 287 | queryParams.classId = this.query.class; |
| 288 | 288 | queryParams.subjectName = this.query.subject; |
| 289 | 289 | queryParams.tagId = this.query.tagId; | ... | ... |