refactor(接口测试): 优化场景保存
This commit is contained in:
parent
dd9a847da3
commit
df1d5d7608
|
@ -416,6 +416,7 @@ export default {
|
|||
}
|
||||
},
|
||||
deleteResourceIds(array) {
|
||||
if (array instanceof Array && array.length > 0) {
|
||||
array.forEach(item => {
|
||||
if (item.resourceId) {
|
||||
delete item.resourceId;
|
||||
|
@ -495,6 +496,7 @@ export default {
|
|||
this.deleteResourceIds(item.hashTree);
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
closeConfirm(targetName) {
|
||||
let message = "";
|
||||
|
|
Loading…
Reference in New Issue