From 4fc2892739675e5b2f13b92c074546291e6ae7f4 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Thu, 29 Aug 2024 09:15:11 +0800 Subject: [PATCH] 1 --- pages/miniClass/classInfo.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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()