fix(接口测试): 修复自动化场景编辑时,导入新场景存在导入重复的缺陷
--bug=1013853 --user=王孝刚 【接口测试】github#14460,自动化场景编辑时,导入新场景存在导入重复问题 https://www.tapd.cn/55049933/s/1175716
This commit is contained in:
parent
a710fc45ba
commit
5d3735816f
|
@ -169,6 +169,7 @@ export default {
|
||||||
}
|
}
|
||||||
this.result = this.$post("/api/automation/getApiScenarios/", this.currentScenarioIds, response => {
|
this.result = this.$post("/api/automation/getApiScenarios/", this.currentScenarioIds, response => {
|
||||||
if (response.data) {
|
if (response.data) {
|
||||||
|
this.currentScenarioIds = [];
|
||||||
this.createScenarioDefinition(scenarios, response.data, referenced);
|
this.createScenarioDefinition(scenarios, response.data, referenced);
|
||||||
this.$emit('save', scenarios);
|
this.$emit('save', scenarios);
|
||||||
this.$refs.baseRelevance.close();
|
this.$refs.baseRelevance.close();
|
||||||
|
|
Loading…
Reference in New Issue