From 913434e11ceca958608706fb3d8cd1c2ed8adc21 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Fri, 18 Nov 2022 18:25:51 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E7=94=A8=E4=BE=8B=E6=89=B9=E9=87=8F=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=BB=98=E8=AE=A4=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E7=8E=AF=E5=A2=83=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001019836 --- .../plan/view/comonents/api/TestPlanApiScenarioList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue b/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue index d0ad9eb03f..74aa6cda2d 100644 --- a/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue +++ b/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue @@ -446,7 +446,10 @@ export default { rows.forEach(row => { this.planCaseIds.push(row.id); }) - this.$refs.runMode.open('API'); + //防止this.planCaseIds没有及时绑定 + this.$nextTick(()=>{ + this.$refs.runMode.open('API'); + }) }, orderBySelectRows(rows) { let selectIds = Array.from(rows).map(row => row.id);