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 @@