fix(接口自动化): 导入接口-按版本进行筛选失败
--bug=1012797 --user=李玉号 【接口测试】接口自动化-场景编辑-导入接口-按版本进行筛选失败 https://www.tapd.cn/55049933/s/1149273
This commit is contained in:
parent
3222e861b5
commit
edb3dd68fa
|
@ -148,7 +148,11 @@ export default {
|
|||
} else {
|
||||
this.condition.protocol = "HTTP";
|
||||
}
|
||||
this.condition.filters = {status: ["Prepare", "Underway", "Completed"]};
|
||||
if (this.condition.filters) {
|
||||
this.condition.filters.status = ["Prepare", "Underway", "Completed"];
|
||||
} else {
|
||||
this.condition.filters = {status: ["Prepare", "Underway", "Completed"]};
|
||||
}
|
||||
let url = '/api/definition/list/';
|
||||
if (this.isTestPlan) {
|
||||
url = '/api/definition/list/relevance/';
|
||||
|
|
Loading…
Reference in New Issue