From 51023eae3a23d55a69fab48d74b03f670fee2f60 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 25 Aug 2021 13:07:58 +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 91c0ba7..d5cc36c 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -484,6 +484,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);