From 95727e8ac46416e531c8fae44db51e76a37e3a80 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 5 Aug 2022 14:49:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0=E5=9C=BA=E6=99=AF=E5=8F=98?= =?UTF-8?q?=E9=87=8Fcsv=E6=96=87=E4=BB=B6=E8=AE=BE=E7=BD=AE=E5=88=86?= =?UTF-8?q?=E9=9A=94=E7=AC=A6=E4=B8=BA;=E4=BF=9D=E5=AD=98=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1015680 --user=王孝刚 【接口测试】github#16675,首次添加场景变量csv本地文件,设置分隔符为;保存后仍为,非首次正常 https://www.tapd.cn/55049933/s/1220006 --- .../api/automation/scenario/variable/VariableList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue b/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue index cd62a99e2c..ee7606e920 100644 --- a/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue +++ b/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue @@ -300,7 +300,7 @@ export default { addParameters(v) { v.id = getUUID(); if (v.type === 'CSV') { - v.delimiter = ","; + v.delimiter = v.delimiter ? v.delimiter : ","; } this.variables.push(v); let index = 1;