From 188df00759094acd814ad89536e7075fdaa378f2 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Sat, 7 May 2022 10:51:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=B9=E9=87=8F=E6=89=A7=E8=A1=8Ccase?= =?UTF-8?q?=E5=90=8E=E5=8B=BE=E9=80=89case=E6=89=B9=E9=87=8F=E5=88=A0?= =?UTF-8?q?=E9=99=A4case=E6=8F=90=E7=A4=BA=E5=88=A0=E9=99=A4=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E5=AE=9E=E9=99=85=E5=88=A0=E9=99=A4=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=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=1013019 --user=王孝刚 【接口测试】批量执行case后勾选case-批量删除case-提示删除成功-实际删除失败 https://www.tapd.cn/55049933/s/1153949 --- .../api/definition/components/list/ApiCaseSimpleList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 91026d7d91..d152979a02 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue @@ -900,18 +900,18 @@ export default { obj.projectId = this.projectId; obj.selectAllDate = this.selectAll; obj.unSelectIds = this.unSelection; - obj.ids = Array.from(this.selectRows).map(row => row.id); obj = Object.assign(obj, this.condition); + obj.ids = Array.from(this.selectRows).map(row => row.id); this.$post('/api/testcase/checkDeleteDatas/', obj, response => { let checkResult = response.data; - let alertMsg = this.$t('api_test.definition.request.delete_confirm') + " ?"; + let alertMsg = this.$t('api_test.definition.request.delete_case_confirm') + " ?"; if (!checkResult.deleteFlag) { alertMsg = ""; checkResult.checkMsg.forEach(item => { alertMsg += item + ";"; }); if (alertMsg === "") { - alertMsg = this.$t('api_test.definition.request.delete_confirm') + " ?"; + alertMsg = this.$t('api_test.definition.request.delete_case_confirm') + " ?"; } else { alertMsg += this.$t('api_test.is_continue') + " ?"; }