fix(接口定义): 修复接口定义case执行结果搜索未执行失败的缺陷
--bug=1015232 --user=王孝刚 【接口测试】编辑接口-case列表-执行结果筛选未执行失败 https://www.tapd.cn/55049933/s/1210646
This commit is contained in:
parent
48d1c0b1c3
commit
c1cc0bd550
|
@ -744,6 +744,10 @@ export default {
|
||||||
}
|
}
|
||||||
this.initCondition();
|
this.initCondition();
|
||||||
let isNext = false;
|
let isNext = false;
|
||||||
|
//导入的case执行结果默认为prepare,导致搜索未执行失败
|
||||||
|
if (this.condition.filters && this.condition.filters.exec_result && this.condition.filters.exec_result.indexOf('') !== -1) {
|
||||||
|
this.condition.filters.exec_result.push("Prepare")
|
||||||
|
}
|
||||||
if (this.condition.projectId) {
|
if (this.condition.projectId) {
|
||||||
this.result = this.$post('/api/testcase/list/' + this.currentPage + "/" + this.pageSize, this.condition, response => {
|
this.result = this.$post('/api/testcase/list/' + this.currentPage + "/" + this.pageSize, this.condition, response => {
|
||||||
this.total = response.data.itemCount;
|
this.total = response.data.itemCount;
|
||||||
|
|
Loading…
Reference in New Issue