From 6579ee1c2dcbcdb540a0fa10741bd4f68633fcbe Mon Sep 17 00:00:00 2001 From: lyc Date: Mon, 6 Jan 2025 09:55:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=AD=A6=E6=A1=86=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/teachingDesign/container/center.vue | 4 ++-- .../src/views/teachingDesign/container/edit-dialog.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/views/teachingDesign/container/center.vue b/src/renderer/src/views/teachingDesign/container/center.vue index ab35643..cfc8d45 100644 --- a/src/renderer/src/views/teachingDesign/container/center.vue +++ b/src/renderer/src/views/teachingDesign/container/center.vue @@ -9,7 +9,7 @@ 生成教学大纲 - + 删除大纲 @@ -73,7 +73,7 @@ emitter.on('onShow', (data)=>{ const getDetails = (id) =>{ syllabuss(id).then( res =>{ - console.log(res) + Object.assign(curItem, res.data) }) } diff --git a/src/renderer/src/views/teachingDesign/container/edit-dialog.vue b/src/renderer/src/views/teachingDesign/container/edit-dialog.vue index 49cc5a4..49c7601 100644 --- a/src/renderer/src/views/teachingDesign/container/edit-dialog.vue +++ b/src/renderer/src/views/teachingDesign/container/edit-dialog.vue @@ -2,7 +2,7 @@