From 8e9a8de7cf76274b9120d87ea9b9ff214400c117 Mon Sep 17 00:00:00 2001 From: gengxin Date: Wed, 19 Mar 2025 21:48:01 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E7=BA=BF=E4=B8=8A=20BUG2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 7d9f41b5..6d05f598 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -4036,15 +4036,16 @@ function onFocusEnd(){ if(state.kk_eidt){ //编辑 postData.examInfo = state.examInfo; + if(postData.examInfo && postData.examInfo.examinationName){ + postData.examInfo.examinationTestId = null; + postData.examInfo.id = null; + } }else{ //新建 postData.examInfo = state.examInfo; postData.examInfo.examinationTestId = null; postData.examInfo.id = null; } - - - console.log("postData gxdata data" ,postData); if(!postData.name){ return message.error("请输入开课名称"); }