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) %>%" } ] }