Commit 1cf7cde7 by maolipeng

Merge branch 'feature/maolipeng/20210629/piliang' into rc

parents 4d000446 404016dd
......@@ -586,6 +586,9 @@ class OperatePaper extends Component {
value={record.score || 2}
onChange={(value) => {
value = Math.round(value)
if (value <= record.portionScore) {
return
}
const _selectQuestionList = [...selectQuestionList];
this.setState(
{
......@@ -609,7 +612,7 @@ class OperatePaper extends Component {
{record.questionType === 'GAP_FILLING' ? <span>半对得</span> : <span>漏选得</span>}{' '}
<InputNumber
min={0}
max={record.score - 1}
max={ record.score <= 0 ? 0 : record.score - 1}
value={record.portionScore || 0}
onChange={(value) => {
value = Math.round(value)
......
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