Commit 3ff65418 by maolipeng

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

# Conflicts:
#	src/modules/teach-tool/paper-manage/OperatePaper.jsx
parents f5d562e3 404016dd
......@@ -585,7 +585,10 @@ class OperatePaper extends Component {
max={100}
value={record.score || 2}
onChange={(value) => {
value = Math.round(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