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