diff --git a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue index 5cae700..2e745a0 100644 --- a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue +++ b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue @@ -7,7 +7,8 @@

全部考试

- + +
{{ item.examinationName }}
@@ -92,12 +93,13 @@ export default { this.$instance.post(`/app/appexaminationinfo/listForXCX`, null, { params: { current: this.current, - size: 10, + size: 3000, title: this.title } }).then(res=> { if(res?.data) { - this.testList = this.current==1? res.data.records: [...this.testList,...res.data.records] + // this.testList = this.current==1? res.data.records: [...this.testList,...res.data.records] + this.testList = res.data.records } }) }, @@ -154,10 +156,10 @@ export default { this.$u.toast(err.msg) }) }, - scrolltLower() { - this.current++ - this.getList() - } + // scrolltLower() { + // this.current++ + // this.getList() + // } }, } diff --git a/src/project/qujing/AppLegalLearning/components/OnlineClass.vue b/src/project/qujing/AppLegalLearning/components/OnlineClass.vue index d315a48..ea861b0 100644 --- a/src/project/qujing/AppLegalLearning/components/OnlineClass.vue +++ b/src/project/qujing/AppLegalLearning/components/OnlineClass.vue @@ -7,7 +7,8 @@

全部课程

- + +
@@ -43,22 +44,23 @@ export default { this.$instance.post(`/app/appcourseinfo/listByApplet`, null, { params: { current: this.current, - size: 10, + size: 3000, title: this.title } }).then(res=> { if(res?.data) { - this.classList = this.current==1? res.data.records: [...this.classList,...res.data.records] + // this.classList = this.current==1? res.data.records: [...this.classList,...res.data.records] + this.classList = res.data.records } }) }, handleToDetail(id) { this.$emit('toDetail',id) }, - scrolltLower() { - this.current ++; - this.getList() - } + // scrolltLower() { + // this.current ++; + // this.getList() + // } }, onReachBottom() {