1. 线上 BUG2

This commit is contained in:
gengxin
2025-03-19 21:48:01 +08:00
parent 00d0ad74a3
commit 8e9a8de7cf

View File

@@ -4036,15 +4036,16 @@ function onFocusEnd(){
if(state.kk_eidt){ if(state.kk_eidt){
//编辑 //编辑
postData.examInfo = state.examInfo; postData.examInfo = state.examInfo;
if(postData.examInfo && postData.examInfo.examinationName){
postData.examInfo.examinationTestId = null;
postData.examInfo.id = null;
}
}else{ }else{
//新建 //新建
postData.examInfo = state.examInfo; postData.examInfo = state.examInfo;
postData.examInfo.examinationTestId = null; postData.examInfo.examinationTestId = null;
postData.examInfo.id = null; postData.examInfo.id = null;
} }
console.log("postData gxdata data" ,postData);
if(!postData.name){ if(!postData.name){
return message.error("请输入开课名称"); return message.error("请输入开课名称");
} }