fix(接口测试): 修复添加场景变量csv文件设置分隔符为;保存失效的缺陷

--bug=1015680 --user=王孝刚
【接口测试】github#16675,首次添加场景变量csv本地文件,设置分隔符为;保存后仍为,非首次正常
https://www.tapd.cn/55049933/s/1220006
This commit is contained in:
wxg0103 2022-08-05 14:49:00 +08:00 committed by fit2-zhao
parent e05f6ebc09
commit 105b6625f1
1 changed files with 1 additions and 1 deletions

View File

@ -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;