From c1cc0bd550664d8e00afccf2cfc9dcf31ff56375 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 25 Jul 2022 17:56:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89case?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E7=BB=93=E6=9E=9C=E6=90=9C=E7=B4=A2=E6=9C=AA?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E5=A4=B1=E8=B4=A5=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1015232 --user=王孝刚 【接口测试】编辑接口-case列表-执行结果筛选未执行失败 https://www.tapd.cn/55049933/s/1210646 --- .../api/definition/components/list/ApiCaseSimpleList.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue index c08100c0b3..32ff320a86 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue @@ -744,6 +744,10 @@ export default { } this.initCondition(); 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) { this.result = this.$post('/api/testcase/list/' + this.currentPage + "/" + this.pageSize, this.condition, response => { this.total = response.data.itemCount;