提交 83c1b0f7 authored 作者: matian's avatar matian

Merge remote-tracking branch 'origin/master'

......@@ -115,9 +115,10 @@ export default {
},
// 已添加的试题总分
questionsTotalScore() {
return this.questions.reduce((total, item) => {
const result = this.questions.reduce((total, item) => {
return total + parseFloat(item.score || 0)
}, 0)
return Math.floor(result)
}
},
methods: {
......
......@@ -169,6 +169,18 @@ export default {
}
.question-title {
padding: 10px 0;
::v-deep{
img{
width: 100% !important;
}
}
}
::v-deep{
.question-item-option{
.el-radio__label{
white-space: normal;
}
}
}
.question-item-option {
margin: 10px 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论