fix(接口测试): 修复自动化场景编辑时,导入新场景存在导入重复的缺陷

--bug=1013853 --user=王孝刚 【接口测试】github#14460,自动化场景编辑时,导入新场景存在导入重复问题
https://www.tapd.cn/55049933/s/1175716
This commit is contained in:
wxg0103 2022-06-08 10:42:21 +08:00 committed by f2c-ci-robot[bot]
parent a710fc45ba
commit 5d3735816f
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ export default {
}
this.result = this.$post("/api/automation/getApiScenarios/", this.currentScenarioIds, response => {
if (response.data) {
this.currentScenarioIds = [];
this.createScenarioDefinition(scenarios, response.data, referenced);
this.$emit('save', scenarios);
this.$refs.baseRelevance.close();