mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
选择考试加校验
This commit is contained in:
@@ -516,6 +516,7 @@ export default {
|
||||
return Promise.reject("请选择时间");
|
||||
}
|
||||
};
|
||||
|
||||
let checkExaminationDuration = async (_rule, value) => {
|
||||
if (!value) {
|
||||
return Promise.reject("请输入考试时长");
|
||||
@@ -720,7 +721,7 @@ export default {
|
||||
};
|
||||
if(!(state.paperId >0)){
|
||||
message.destroy();
|
||||
return message.error("请选择考试");
|
||||
return message.error("请选择考试");
|
||||
}
|
||||
if (props.edit) {
|
||||
// 编辑任务
|
||||
|
||||
Reference in New Issue
Block a user