loading
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user