From dd79c1f3e29f8d9e8bbc341ca4b15d150cbb1919 Mon Sep 17 00:00:00 2001 From: wenyann Date: Mon, 24 May 2021 15:07:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=EF=BC=8C=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E7=9A=84=E6=8E=A5=E5=8F=A3=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E8=B7=B3=E8=BD=AC=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/business/components/api/automation/ApiAutomation.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/automation/ApiAutomation.vue b/frontend/src/business/components/api/automation/ApiAutomation.vue index 5b3a1ab9f3..2075188f17 100644 --- a/frontend/src/business/components/api/automation/ApiAutomation.vue +++ b/frontend/src/business/components/api/automation/ApiAutomation.vue @@ -167,7 +167,10 @@ this.$refs.nodeTree.list(); } let row = data.listObject[0]; - row.tags = JSON.parse(row.tags); + if (row.tags.length > 0) { + row.tags = JSON.parse(row.tags); + } + this.editScenario(row); } });