This commit is contained in:
@fawn-nine
2024-06-21 13:34:16 +08:00
parent 5287358bd5
commit c8d7b5f271
6 changed files with 209 additions and 98 deletions

View File

@@ -366,7 +366,7 @@
},
onReachBottom() {
console.log('触底');
if (this.status != 2) {
if (this.status != 2 && !this.loadFlag) {
this.pPage++
this.getSayList()
}
@@ -592,10 +592,10 @@
// 查询课程的评论
getSayList() {
this.status = 1
if (this.loadFlag) {
console.log('有未完成的进程');
return
}
// if (this.loadFlag) {
// console.log('有未完成的进程');
// return
// }
this.loadFlag = true
$http.request({
url: "common/courseGuestbook/getCourseGuestbookList",
@@ -640,7 +640,7 @@
this.loadFlag = false
}).catch(e => {
console.log('获取留言失败');
this.loadFlag = false
// this.loadFlag = false
})
},
previewImage(url) {