fix(接口测试): 修复场景步骤中case增加文档断言保存失效的缺陷

--bug=1015707 --user=王孝刚
【接口测试】github#16734,场景中条件控制器下接口,添加断言-json文档结构校验字段,执行后无断言,保存后重新编辑,此字段未空
https://www.tapd.cn/55049933/s/1220746
This commit is contained in:
wxg0103 2022-08-09 11:14:10 +08:00 committed by jianxing
parent 0dd65c800f
commit fab4581539
1 changed files with 1 additions and 1 deletions

View File

@ -1434,7 +1434,7 @@ export default {
mergeScenario(data) {
data.forEach(item => {
mergeRequestDocumentData(item);
if (item.hashTree && item.hashTree > 0) {
if (item.hashTree && item.hashTree.length > 0) {
this.mergeScenario(item.hashTree);
}
})