Commit 8985008f by zhujian

'fix'

parent 1e9b34d8
......@@ -301,7 +301,7 @@ function AddExam(props: any) {
validateStatus={(check && !passRate) ? 'error' : ''}
help={check && !passRate && '请输入及格线'}
required>
<InputNumber value={passRate} min={0} onChange={(value: any) => { setPassRate(parseInt(value)) }} style={{ width: 100 }} />
<InputNumber value={passRate} min={0} max={100} onChange={(value: any) => { setPassRate(parseInt(value)) }} style={{ width: 100 }} />
<span style={{ marginLeft: 4 }}>%
</span>
<span style={{ marginLeft: 20, color: "#999" }}>
......
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