|
|
|
@ -376,13 +376,13 @@ class QuestionAdd extends Component<any, States> { |
|
|
|
|
<Form.Item name={`optionA_${formId}`} |
|
|
|
|
rules={[{ required: true, message: "请输入答案" }]} |
|
|
|
|
> |
|
|
|
|
<Input placeholder="请输入答案" style={{ width: 500 }} /> |
|
|
|
|
<Input placeholder="请输入答案" maxLength={100} style={{ width: 500 }} /> |
|
|
|
|
</Form.Item> |
|
|
|
|
<Radio value="B">B</Radio> |
|
|
|
|
<Form.Item name={`optionB_${formId}`} |
|
|
|
|
rules={[{ required: true, message: "请输入答案" }]} |
|
|
|
|
> |
|
|
|
|
<Input placeholder="请输入答案" style={{ width: 500 }} /> |
|
|
|
|
<Input placeholder="请输入答案" maxLength={100} style={{ width: 500 }} /> |
|
|
|
|
</Form.Item> |
|
|
|
|
</div> |
|
|
|
|
<div style={{ display: "flex", marginTop: 10 }}> |
|
|
|
@ -390,13 +390,13 @@ class QuestionAdd extends Component<any, States> { |
|
|
|
|
<Form.Item name={`optionC_${formId}`} |
|
|
|
|
rules={[{ required: true, message: "请输入答案" }]} |
|
|
|
|
> |
|
|
|
|
<Input placeholder="请输入答案" style={{ width: 500 }} /> |
|
|
|
|
<Input placeholder="请输入答案" maxLength={100} style={{ width: 500 }} /> |
|
|
|
|
</Form.Item> |
|
|
|
|
<Radio value="D">D</Radio> |
|
|
|
|
<Form.Item name={`optionD_${formId}`} |
|
|
|
|
rules={[{ required: true, message: "请输入答案" }]} |
|
|
|
|
> |
|
|
|
|
<Input placeholder="请输入答案" style={{ width: 500 }} /> |
|
|
|
|
<Input placeholder="请输入答案" maxLength={100} style={{ width: 500 }} /> |
|
|
|
|
</Form.Item> |
|
|
|
|
</div> |
|
|
|
|
</Radio.Group> |
|
|
|
@ -407,13 +407,13 @@ class QuestionAdd extends Component<any, States> { |
|
|
|
|
<Form.Item name={`optionA_${formId}`} |
|
|
|
|
rules={[{ required: true, message: "请输入答案" }]} |
|
|
|
|
> |
|
|
|
|
<Input placeholder="请输入答案" style={{ width: 500 }} /> |
|
|
|
|
<Input placeholder="请输入答案" maxLength={100} style={{ width: 500 }} /> |
|
|
|
|
</Form.Item> |
|
|
|
|
<Checkbox value="B">B</Checkbox> |
|
|
|
|
<Form.Item name={`optionB_${formId}`} |
|
|
|
|
rules={[{ required: true, message: "请输入答案" }]} |
|
|
|
|
> |
|
|
|
|
<Input placeholder="请输入答案" style={{ width: 500 }} /> |
|
|
|
|
<Input placeholder="请输入答案" maxLength={100} style={{ width: 500 }} /> |
|
|
|
|
</Form.Item> |
|
|
|
|
</div> |
|
|
|
|
<div style={{ display: "flex", marginTop: 10 }}> |
|
|
|
@ -421,13 +421,13 @@ class QuestionAdd extends Component<any, States> { |
|
|
|
|
<Form.Item name={`optionC_${formId}`} |
|
|
|
|
rules={[{ required: true, message: "请输入答案" }]} |
|
|
|
|
> |
|
|
|
|
<Input placeholder="请输入答案" style={{ width: 500 }} /> |
|
|
|
|
<Input placeholder="请输入答案" maxLength={100} style={{ width: 500 }} /> |
|
|
|
|
</Form.Item> |
|
|
|
|
<Checkbox value="D">D</Checkbox> |
|
|
|
|
<Form.Item name={`optionD_${formId}`} |
|
|
|
|
rules={[{ required: true, message: "请输入答案" }]} |
|
|
|
|
> |
|
|
|
|
<Input placeholder="请输入答案" style={{ width: 500 }} /> |
|
|
|
|
<Input placeholder="请输入答案" maxLength={100} style={{ width: 500 }} /> |
|
|
|
|
</Form.Item> |
|
|
|
|
</div> |
|
|
|
|
</Checkbox.Group> |
|
|
|
|