From 0cc886c06d29a839e469db82853c9d0f7526dc84 Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Tue, 20 Aug 2024 10:10:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E6=A8=A1=E5=9D=97=EF=BC=8C=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E5=85=AC=E5=85=B1=E7=94=A8=E4=BE=8B=E5=BA=93=E5=86=8D=E5=9B=9E?= =?UTF-8?q?=E9=80=80=EF=BC=8C=E6=95=B0=E6=8D=AE=E5=92=8C=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E6=98=BE=E7=A4=BA=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1043922 --user=陈建星 【测试跟踪】 github#32043选中某节点后,点击公共用例库,点击返回,光标还是在某节点处停留,但是右侧用例显示的是所有用例。 https://www.tapd.cn/55049933/s/1565213 --- test-track/frontend/src/business/case/TestCase.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test-track/frontend/src/business/case/TestCase.vue b/test-track/frontend/src/business/case/TestCase.vue index 645318d45e..05e5452987 100644 --- a/test-track/frontend/src/business/case/TestCase.vue +++ b/test-track/frontend/src/business/case/TestCase.vue @@ -525,6 +525,10 @@ export default { this.activeName = 'default'; this.trashEnable = false; this.publicEnable = false; + // 清除选中的模块 + this.$router.push({ + query: merge(this.$route.query, {'moduleId': 'root'}) + }); }, enableTrash(data) { // 进入回收站列表