fix: 接口自动化导入无法添加断言等

This commit is contained in:
chenjianxing 2021-04-23 16:21:15 +08:00 committed by jianxing
parent 70bc7ef38f
commit d8da7d75a9
2 changed files with 11 additions and 0 deletions

View File

@ -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;
} }
} }

View File

@ -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;
} }