fix(接口测试): 修复调试场景,仍提示未保存的缺陷

--bug=1032579 --user=王孝刚
【接口测试】github#27389,接口自动化列表数据,仅调试没有做修改操作,退出页面会提示保存
https://www.tapd.cn/55049933/s/1434427
This commit is contained in:
wxg0103 2023-11-08 16:37:52 +08:00 committed by wxg0103
parent c44b40c70d
commit 5c5fe605f6
1 changed files with 9 additions and 0 deletions

View File

@ -606,6 +606,15 @@ export default {
if (item.refEevMap) {
delete item.refEevMap;
}
if (item.debug || !item.debug) {
delete item.debug;
}
if (!item.testing) {
delete item.testing;
}
if (item.domain === '' || item.domain === null || item.domain === undefined) {
delete item.domain;
}
if (item.body && item.body.kvs) {
item.body.kvs.forEach((v) => {
if (v.files) {