Merge remote-tracking branch 'origin/dev_aliyun' into dev_aliyun

video_transcode
杨树明 5 years ago
commit 854c7efed9

@ -151,8 +151,6 @@ const AddTestDemo = (props) => {
<Form>
<FormItem
label={<span className={'label_text'}>输入</span>}
validateStatus={testCaseValidate.input.validateStatus}
help={testCaseValidate.input.errMsg}
colon={ false }
>
<TextArea
@ -164,8 +162,6 @@ const AddTestDemo = (props) => {
</FormItem>
<FormItem
label={<span className={'label_text'}>输出</span>}
validateStatus={testCaseValidate.output.validateStatus}
help={testCaseValidate.output.errMsg}
colon={ false }
>
<TextArea

@ -168,13 +168,13 @@ export const validateOjForm = (props, type, cb) => {
tcValidResult.push(tempObj);
});
if (testCases.length === 0) {
hasSuccess = false;
notification['error']({
message: '提示',
description: '测试用例必须输入!'
});
}
// if (testCases.length === 0) {
// hasSuccess = false;
// notification['error']({
// message: '提示',
// description: '测试用例必须输入!'
// });
// }
// if (!code) {
// hasSuccess = false;

Loading…
Cancel
Save