From 8bd07d99624cec409bcb4125076918370ab55dd4 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Fri, 13 May 2022 11:27:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=B7=B2=E5=BD=92=E6=A1=A3=E8=AE=A1=E5=88=92=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E7=88=B6=E7=BA=A7tab=E8=84=91=E5=9B=BE=E6=97=A0=E5=BC=B9?= =?UTF-8?q?=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 --bug=1013105 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001013105 本次提交 修复已归档测试计划点击与测试计划同级tab页面导致弹窗出现-实际不出现 修复已归档测试计划点击与测试跟踪同级tab页面导致弹窗出现-实际不出现 --- .../view/comonents/functional/TestPlanFunctional.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/TestPlanFunctional.vue b/frontend/src/business/components/track/plan/view/comonents/functional/TestPlanFunctional.vue index 405fa3a596..2e69c86153 100644 --- a/frontend/src/business/components/track/plan/view/comonents/functional/TestPlanFunctional.vue +++ b/frontend/src/business/components/track/plan/view/comonents/functional/TestPlanFunctional.vue @@ -177,9 +177,13 @@ export default { }, handleBeforeRouteLeave(to) { if (this.$store.state.isTestCaseMinderChanged) { - this.$refs.isChangeConfirm.open(); - this.tmpPath = to.path; - return false; + if (this.planStatus !== 'Archived') { + this.$refs.isChangeConfirm.open(); + this.tmpPath = to.path; + return false; + } else { + return true; + } } else { return true; }