From 8a1c5d7186d1a3c151391be0b4b6f631835caaf0 Mon Sep 17 00:00:00 2001 From: lyc Date: Wed, 27 Nov 2024 14:38:22 +0800 Subject: [PATCH] edit --- .../template-study/container/edit-dialog.vue | 2 +- .../template-study/container/right.vue | 17 +++++++++++++---- .../examination-analysis/container/result.vue | 3 ++- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/renderer/src/components/template-study/container/edit-dialog.vue b/src/renderer/src/components/template-study/container/edit-dialog.vue index 97dda43..5c0bcee 100644 --- a/src/renderer/src/components/template-study/container/edit-dialog.vue +++ b/src/renderer/src/components/template-study/container/edit-dialog.vue @@ -52,7 +52,7 @@ watch(() => props.item.answer, (newVal) => { const onSave = () =>{ - editTempResult({id: props.item.reultId, content: textarea.value}).then( res =>{ + editTempResult({id: props.item.resultId, content: textarea.value}).then( res =>{ isDialog.value = false ElMessage.success('操作成功') emitter.emit('onGetChild', textarea.value) diff --git a/src/renderer/src/components/template-study/container/right.vue b/src/renderer/src/components/template-study/container/right.vue index 68d9acd..4f4f74e 100644 --- a/src/renderer/src/components/template-study/container/right.vue +++ b/src/renderer/src/components/template-study/container/right.vue @@ -84,7 +84,7 @@