fix(接口定义): 修复接口定义case执行结果搜索未执行失败的缺陷

--bug=1015232 --user=王孝刚 【接口测试】编辑接口-case列表-执行结果筛选未执行失败
https://www.tapd.cn/55049933/s/1210646
This commit is contained in:
wxg0103 2022-07-25 17:56:22 +08:00 committed by fit2-zhao
parent 48d1c0b1c3
commit c1cc0bd550
1 changed files with 4 additions and 0 deletions

View File

@ -744,6 +744,10 @@ export default {
}
this.initCondition();
let isNext = false;
//caseprepare
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) {
this.result = this.$post('/api/testcase/list/' + this.currentPage + "/" + this.pageSize, this.condition, response => {
this.total = response.data.itemCount;