This commit is contained in:
@fawn-nine
2024-08-29 09:15:11 +08:00
parent a4b86b0220
commit 4fc2892739

View File

@@ -421,7 +421,8 @@
task0Score: 0, task0Score: 0,
questionScore: 0 questionScore: 0
}, },
roleCode:[] roleCode:[],
firstLoad:false, // 是否是第一次请求
} }
}, },
onLoad(e) { onLoad(e) {
@@ -460,6 +461,9 @@
this.getScore() this.getScore()
// this.getTijiaoTitleList() // this.getTijiaoTitleList()
if (this.thisClass.state != 0) { if (this.thisClass.state != 0) {
if(this.firstLoad){
this.firstLoad = false
}
this.pPage = 0 this.pPage = 0
this.taskList = [] this.taskList = []
this.getList() this.getList()