From 2399a9d38219a4c88a85fc0c9aaf879162cc3ca8 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Wed, 31 May 2023 22:22:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E5=90=88=20amis=20=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E7=95=8C=E9=9D=A2=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/pages/question.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/pages/question.json b/frontend/pages/question.json index d727cd5..33f943f 100644 --- a/frontend/pages/question.json +++ b/frontend/pages/question.json @@ -221,7 +221,7 @@ "name": "wrong_rate", "label": "错误率", "type": "tpl", - "tpl": "${wrong_rate * 100}%" + "tpl": "<%= (data.wrong_rate * 100).toFixed(2) %>%" } ] }