loading
This commit is contained in:
@@ -101,7 +101,6 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
console.log(this.current, this.pages)
|
|
||||||
if(this.current > this.pages) return
|
if(this.current > this.pages) return
|
||||||
this.$instance.post(`/app/appexaminationinfo/listForXCX`, null, {
|
this.$instance.post(`/app/appexaminationinfo/listForXCX`, null, {
|
||||||
params: {
|
params: {
|
||||||
|
|||||||
@@ -51,18 +51,19 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
console.log(this.current, this.pages)
|
this.$loading()
|
||||||
if(this.current > this.pages) return
|
if(this.current > this.pages) return
|
||||||
this.$instance.post(`/app/appcourseinfo/listByApplet`, null, {
|
this.$instance.post(`/app/appcourseinfo/listByApplet`, null, {
|
||||||
params: {
|
params: {
|
||||||
current: this.current,
|
current: this.current,
|
||||||
size: 6,
|
size: 5,
|
||||||
title: this.title
|
title: this.title
|
||||||
}
|
}
|
||||||
}).then(res=> {
|
}).then(res=> {
|
||||||
if(res?.data) {
|
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.pages = res.data.pages
|
this.pages = res.data.pages
|
||||||
|
this.$hideLoading()
|
||||||
// this.classList = res.data.records
|
// this.classList = res.data.records
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user