Commit 9c84b7be by yuananting

fix:正确率

parent b54dd863
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yuananting * @Author: yuananting
* @Date: 2021-02-25 11:23:47 * @Date: 2021-02-25 11:23:47
* @LastEditors: yuananting * @LastEditors: yuananting
* @LastEditTime: 2021-04-12 13:45:50 * @LastEditTime: 2021-04-12 14:13:39
* @Description: 助学工具-新建试卷-选择题目列表 * @Description: 助学工具-新建试卷-选择题目列表
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -185,7 +185,7 @@ class SelectQuestionList extends Component { ...@@ -185,7 +185,7 @@ class SelectQuestionList extends Component {
sorter: true, sorter: true,
showSorterTooltip: false, showSorterTooltip: false,
render: (val) => { render: (val) => {
return val * 100 + "%"; return parseInt(val * 100) + "%";
}, },
}, },
]; ];
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yuananting * @Author: yuananting
* @Date: 2021-02-25 11:23:47 * @Date: 2021-02-25 11:23:47
* @LastEditors: yuananting * @LastEditors: yuananting
* @LastEditTime: 2021-04-12 11:10:09 * @LastEditTime: 2021-04-12 14:14:19
* @Description: 助学工具-题库-题目列表数据 * @Description: 助学工具-题库-题目列表数据
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -256,7 +256,7 @@ class QuestionList extends Component { ...@@ -256,7 +256,7 @@ class QuestionList extends Component {
showSorterTooltip: false, showSorterTooltip: false,
width: "14%", width: "14%",
render: (val) => { render: (val) => {
return val * 100 + "%"; return parseInt(val * 100) + "%";
}, },
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment