diff --git a/pages/miniClass/classInfo.vue b/pages/miniClass/classInfo.vue index 83b8c94..094424e 100644 --- a/pages/miniClass/classInfo.vue +++ b/pages/miniClass/classInfo.vue @@ -421,7 +421,8 @@ task0Score: 0, questionScore: 0 }, - roleCode:[] + roleCode:[], + firstLoad:false, // 是否是第一次请求 } }, onLoad(e) { @@ -460,6 +461,9 @@ this.getScore() // this.getTijiaoTitleList() if (this.thisClass.state != 0) { + if(this.firstLoad){ + this.firstLoad = false + } this.pPage = 0 this.taskList = [] this.getList()