From 0592ded8c959e4972e39e8a0528327b39c0be21e Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Mon, 24 Apr 2023 18:33:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=9A=84=E9=80=9A=E8=BF=87=E7=8E=87=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E7=99=BE=E5=88=86=E5=8F=B7=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001025764 --- .../src/business/plan/components/TestPlanList.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test-track/frontend/src/business/plan/components/TestPlanList.vue b/test-track/frontend/src/business/plan/components/TestPlanList.vue index 9a399df79c..125ddb8149 100644 --- a/test-track/frontend/src/business/plan/components/TestPlanList.vue +++ b/test-track/frontend/src/business/plan/components/TestPlanList.vue @@ -766,9 +766,9 @@ export default { }); if (metricData) { this.$set(item, "isMetricLoadOver", true); - this.$set(item, "passRate", metricData.passRate); + this.$set(item, "passRate", metricData.passRate + "%"); this.$set(item, "testRate", metricData.testRate); - this.$set(item, "passed", metricData.passed + "%"); + this.$set(item, "passed", metricData.passed); this.$set(item, "tested", metricData.tested); this.$set(item, "total", metricData.total); this.$set( @@ -837,9 +837,9 @@ export default { this.$set(item, "principals", []); this.$set(item, "follows", []); this.$set(item, "showFollow", false); - this.$set(item, "passRate", 0); + this.$set(item, "passRate", 0 + "%"); this.$set(item, "testRate", 0); - this.$set(item, "passed", 0 + "%"); + this.$set(item, "passed", 0); this.$set(item, "tested", 0); this.$set(item, "total", 0); this.$set(item, "testPlanTestCaseCount", 0);