fix(接口测试): 场景脚本兼容旧数据无断言
This commit is contained in:
parent
b4d6f67cc6
commit
00f4cf449c
|
@ -170,6 +170,7 @@
|
||||||
...props.detail,
|
...props.detail,
|
||||||
processorType: RequestConditionProcessor.SCRIPT,
|
processorType: RequestConditionProcessor.SCRIPT,
|
||||||
polymorphicName: 'MsScriptElement',
|
polymorphicName: 'MsScriptElement',
|
||||||
|
children: props.detail.children || defaultScript.children,
|
||||||
}
|
}
|
||||||
: defaultScript
|
: defaultScript
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue