fix(接口测试): 修复调试场景,仍提示未保存的缺陷
--bug=1032579 --user=王孝刚 【接口测试】github#27389,接口自动化列表数据,仅调试没有做修改操作,退出页面会提示保存 https://www.tapd.cn/55049933/s/1434427
This commit is contained in:
parent
c44b40c70d
commit
5c5fe605f6
|
@ -606,6 +606,15 @@ export default {
|
||||||
if (item.refEevMap) {
|
if (item.refEevMap) {
|
||||||
delete 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) {
|
if (item.body && item.body.kvs) {
|
||||||
item.body.kvs.forEach((v) => {
|
item.body.kvs.forEach((v) => {
|
||||||
if (v.files) {
|
if (v.files) {
|
||||||
|
|
Loading…
Reference in New Issue