From 559e1157124af5b7eac5488af7813348e01deab3 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 25 Aug 2021 10:44:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=AE=9E=E8=AE=AD=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE-=E6=A0=87=E7=AD=BE=E9=A1=B5=E5=9B=9E=E5=88=B0?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E4=B8=AA=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TestPanel.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index 10b0824..9229dd8 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -483,6 +483,12 @@ export default { this.projectId = res.message.project[0].projectId } this.points = res.message.points; + + // 切换实训项目-标签页回到第一个位置 + if (this.points.length) { + this.$parent.workbench1 = '0'; + } + this.tableData = res.message.points; let arr1 = this.tableData; let result1 = arr1.map(e => e.judgmentPointsId);