Explorar o código

修复考试不配置groupByUser参数,导致评阅页面切换试题按钮丢失

cyy hai 11 horas
pai
achega
029a3dbc31
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/views/platform/examination/question/judge.vue

+ 3 - 1
src/views/platform/examination/question/judge.vue

@@ -331,7 +331,9 @@ export default {
     const { tagData, tagName } = (await getSetting('examTag')) || {}
     if (tagData) {
       this.groupByUser = tagData.groupByUser
-      this.activeName = '答卷1'
+      if (this.groupByUser) {
+        this.activeName = '答卷1'
+      }
     }
     this.loadData()
     // 监听键盘事件