fix: 接口自动化导入无法添加断言等
This commit is contained in:
parent
70bc7ef38f
commit
d8da7d75a9
|
@ -1042,6 +1042,13 @@
|
||||||
this.currentScenario.headers = obj.headers;
|
this.currentScenario.headers = obj.headers;
|
||||||
}
|
}
|
||||||
this.enableCookieShare = obj.enableCookieShare;
|
this.enableCookieShare = obj.enableCookieShare;
|
||||||
|
if (obj.hashTree) {
|
||||||
|
obj.hashTree.forEach(item => {
|
||||||
|
if (!item.hashTree) {
|
||||||
|
item.hashTree = [];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
this.scenarioDefinition = obj.hashTree;
|
this.scenarioDefinition = obj.hashTree;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -300,6 +300,10 @@ export default {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
||||||
|
.other-info-tabs >>> .el-tabs__content {
|
||||||
|
padding: 20px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
.other-info-tabs {
|
.other-info-tabs {
|
||||||
padding: 30px 60px;
|
padding: 30px 60px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue