fix(接口定义): 修复场景变量批量添加冒号被截断的缺陷

--bug=1018059 --user=王孝刚 【接口测试】场景变量批量添加,多个冒号的会被截断
https://www.tapd.cn/55049933/s/1262153
This commit is contained in:
wxg0103 2022-10-14 18:29:04 +08:00 committed by f2c-ci-robot[bot]
parent aba8a2ba42
commit 239c182d1c
1 changed files with 2 additions and 2 deletions

View File

@ -314,12 +314,12 @@ export default {
params.forEach(item => {
if (item) {
let line = item.split(/|:/);
let values = item.split(line[0] + ":");
let required = false;
keyValues.push(new KeyValue({
name: line[0],
required: required,
value: line[1],
description: line[2],
value: values[1],
type: "CONSTANT",
valid: false,
file: false,