From 4f3c87686182df0dbc38df546573aaaa2a00c56d Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Wed, 11 Jan 2023 15:32:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E8=B7=B3=E8=BD=AC=E6=96=B0?= =?UTF-8?q?=E5=BC=80=E6=A0=87=E7=AD=BE=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1021883 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001021883 --- .../frontend/src/business/component/CaseTableList.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/workstation/frontend/src/business/component/CaseTableList.vue b/workstation/frontend/src/business/component/CaseTableList.vue index 1f58f082e4..2796257f9a 100644 --- a/workstation/frontend/src/business/component/CaseTableList.vue +++ b/workstation/frontend/src/business/component/CaseTableList.vue @@ -654,12 +654,13 @@ export default { this.initTableData(); }, handleEdit(testCase, column) { - this.$router.push({ + let caseResolve = this.$router.resolve({ path: '/track/case/edit', - query:{ - caseId:testCase.id, + query: { + caseId: testCase.id, }, }); + window.open(caseResolve.href, '_blank'); }, refresh() { this.$refs.table.clear();