This commit is contained in:
liuye
2023-05-26 09:41:40 +08:00
parent f82ce583fe
commit 1836b271aa
2 changed files with 3 additions and 3 deletions

View File

@@ -101,7 +101,6 @@ export default {
this.getList()
},
getList() {
console.log(this.current, this.pages)
if(this.current > this.pages) return
this.$instance.post(`/app/appexaminationinfo/listForXCX`, null, {
params: {

View File

@@ -51,18 +51,19 @@ export default {
this.getList()
},
getList() {
console.log(this.current, this.pages)
this.$loading()
if(this.current > this.pages) return
this.$instance.post(`/app/appcourseinfo/listByApplet`, null, {
params: {
current: this.current,
size: 6,
size: 5,
title: this.title
}
}).then(res=> {
if(res?.data) {
this.classList = this.current==1? res.data.records: [...this.classList,...res.data.records]
this.pages = res.data.pages
this.$hideLoading()
// this.classList = res.data.records
}
})