XW 1 рік тому
батько
коміт
120fed1bcd

+ 2 - 1
TEAMModelOS/ClientApp/src/components/student-web/WrongQusetion/QuesList copy.vue

@@ -304,7 +304,6 @@ export default {
                 // this.topicTotal = res.count
                 this.continuationToken = res.token
                 if(res.errorItems) {
-                    this.isLoading = false
                     // 先将所有题目(以小题为单位)加入到topicList
                     res.errorItems.forEach(paper => {
                         paper.its.map(item => {
@@ -358,6 +357,8 @@ export default {
                 // 第一次要求已有题目超过10道,后续加载需要有新的题目
                 if((this.exerciseList.length < 10 || !this.topicList.length) && res.token) {
                     this.getTopicList()
+                } else {
+                    this.isLoading = false
                 }
             }).catch((e) => {
             })