From 7c94028972eb1b345ca7a71b1858940b12c71552 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 25 Aug 2021 13:06:45 +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=E9=A1=B9?= 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 abfe77d..172e59e 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);