提交 29f941c9 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 f8d02f15
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
.then(response => { .then(response => {
const data = JSON.parse(response.data) const data = JSON.parse(response.data)
this.data = data this.data = data
this.accuracy = parseInt(data.sheet.score) / parseInt(data.sheet.questions.total_score) this.accuracy = parseInt(data.sheet.score) / parseInt(data.sheet.questions.total_score) * 100
}) })
.finally(() => { .finally(() => {
}) })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论