From a90530173619b70fb4a41aa81ec54078f8262c9d Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 23 Feb 2023 14:34:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=85=B3?= =?UTF-8?q?=E8=81=94case=E9=A1=B5=E9=9D=A2=E6=A0=87=E7=AD=BE=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E6=97=B6=E6=98=BE=E7=A4=BA[]=E7=9A=84=E7=BC=BA?= =?UTF-8?q?=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1023762 --user=王孝刚 【测试跟踪】测试计划-关联接口测试用例-case列表-标签为空显示[] https://www.tapd.cn/55049933/s/1341915 --- .../business/plan/view/comonents/api/RelevanceCaseList.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test-track/frontend/src/business/plan/view/comonents/api/RelevanceCaseList.vue b/test-track/frontend/src/business/plan/view/comonents/api/RelevanceCaseList.vue index aacfa70d22..5f7037f8ee 100644 --- a/test-track/frontend/src/business/plan/view/comonents/api/RelevanceCaseList.vue +++ b/test-track/frontend/src/business/plan/view/comonents/api/RelevanceCaseList.vue @@ -246,7 +246,11 @@ export default { this.loading = false; this.total = response.data.itemCount; this.tableData = response.data.listObject; - parseTag(this.tableData); + this.tableData.forEach(item => { + if (item.tags && item.tags.length > 0) { + item.tags = JSON.parse(item.tags); + } + }); }); }, clear() {