评价打分,默认最大值是0分
This commit is contained in:
@ -319,7 +319,7 @@ const ScoreEvaluationTable: React.FC<ScoreEvaluationTableProps> = ({
|
|||||||
return (
|
return (
|
||||||
<InputNumber
|
<InputNumber
|
||||||
min={0}
|
min={0}
|
||||||
max={parseFloat(record.ndScore) || 100}
|
max={parseFloat(record.ndScore) || 0}
|
||||||
value={text ? parseFloat(String(text)) : undefined}
|
value={text ? parseFloat(String(text)) : undefined}
|
||||||
onChange={(val) => handleInputChange(val, record, 'score')}
|
onChange={(val) => handleInputChange(val, record, 'score')}
|
||||||
style={{ width: '100%' }}
|
style={{ width: '100%' }}
|
||||||
|
Reference in New Issue
Block a user