From acfde4ae2f50741b4d1d16180bcfc0aa52d49ee8 Mon Sep 17 00:00:00 2001
From: hjm <63528605@qq.com>
Date: Sat, 27 Jul 2019 11:43:43 +0800
Subject: [PATCH] toFixed(1)
---
public/react/src/modules/courses/poll/PollDetailTabSecond.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/public/react/src/modules/courses/poll/PollDetailTabSecond.js b/public/react/src/modules/courses/poll/PollDetailTabSecond.js
index 45b3c1583..b3a1e829c 100644
--- a/public/react/src/modules/courses/poll/PollDetailTabSecond.js
+++ b/public/react/src/modules/courses/poll/PollDetailTabSecond.js
@@ -127,9 +127,9 @@ class PollDetailTabSecond extends Component{
{options.answer_users_count}
-
+
- {options.answer_percent * 100}%
+ {(options.answer_percent * 100).toFixed(1)}%
{