Commit 59c9ed09 by maolipeng

fix:fix:XMQXY-472 XMQXY-473

parent b7bb227f
......@@ -113,7 +113,7 @@ export default function BatchScore(props:BatchScoreProps) {
分,漏选得
<InputNumber
min={0}
max={rules[3].score}
max={rules[3].score-1}
defaultValue={rules[3].portionScore}
value={rules[3].portionScore}
style={inputNumberStyle}
......@@ -132,6 +132,7 @@ export default function BatchScore(props:BatchScoreProps) {
<span className="score">每题
<InputNumber
min={1}
max={100}
defaultValue={rules[1].score}
value={rules[1].score}
style={inputNumberStyle}
......@@ -145,6 +146,7 @@ export default function BatchScore(props:BatchScoreProps) {
分,漏选得
<InputNumber
min={0}
max={rules[1].score-1}
defaultValue={rules[1].portionScore}
value={rules[1].portionScore}
style={inputNumberStyle}
......@@ -162,6 +164,7 @@ export default function BatchScore(props:BatchScoreProps) {
<span className="score">每题
<InputNumber
min={1}
max={100}
defaultValue={rules[2].score}
value={rules[2].score}
style={inputNumberStyle}
......@@ -180,6 +183,7 @@ export default function BatchScore(props:BatchScoreProps) {
<span className="score">每题
<InputNumber
min={1}
max={100}
defaultValue={rules[0].score}
value={rules[0].score}
style={inputNumberStyle}
......@@ -192,7 +196,7 @@ export default function BatchScore(props:BatchScoreProps) {
/>
分,半对得<InputNumber
min={0}
max={rules[0].score}
max={rules[0].score-1}
defaultValue={rules[0].portionScore}
value={rules[0].portionScore}
style={inputNumberStyle}
......
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