diff --git a/src/views/invest/heartJourney/index.vue b/src/views/invest/heartJourney/index.vue
index 5651ee7..f2d79f7 100644
--- a/src/views/invest/heartJourney/index.vue
+++ b/src/views/invest/heartJourney/index.vue
@@ -77,7 +77,7 @@
-
+
@@ -108,6 +108,7 @@ const single = ref(true)
const multiple = ref(true)
const total = ref(0)
const title = ref('')
+const editorKey = ref(0) // 用于强制刷新富文本编辑器
const operateList = ref([
{ id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:heartJourney:query'] },
{ id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:heartJourney:edit'] },
@@ -226,9 +227,9 @@ const handleView = (row) => {
/** 新增按钮操作 */
function handleAdd() {
reset()
+ editorKey.value++ // 强制重新创建富文本编辑器
open.value = true
title.value = '添加心路历程'
- // 确保表单完全清空后再设置默认时间
nextTick(() => {
form.value.createTime = dayjs(new Date().getTime()).format('YYYY-MM-DD HH:mm:ss')
})