fix(接口定义): 修复场景断言修改文档断言的值保存不生效的缺陷

--bug=1017825 --user=王孝刚 【接口测试】接口自动化场景断言json结构化校验结果不准确「应该是修改数值无法改变导致」
https://www.tapd.cn/55049933/s/1258933
This commit is contained in:
wxg0103 2022-10-11 18:55:22 +08:00 committed by wxg0103
parent 191e037a17
commit 9a0c49414e
1 changed files with 4 additions and 0 deletions

View File

@ -233,6 +233,10 @@ export function mergeRequestDocumentData(request) {
}
}
}
//场景断言merge文档断言数据
if (request && request.document && request.document.originalData && request.document.tableData.size && request.document.tableData.size !== 0) {
mergeDocumentData(request.document.originalData, request.document.tableData);
}
}