fix(接口定义): 修复场景变量批量添加冒号被截断的缺陷
--bug=1018059 --user=王孝刚 【接口测试】场景变量批量添加,多个冒号的会被截断 https://www.tapd.cn/55049933/s/1262153
This commit is contained in:
parent
aba8a2ba42
commit
239c182d1c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue