fix: 优化注册页面,修复心路历程bug。

This commit is contained in:
tianyongbao
2026-01-09 00:22:08 +08:00
parent dd0c617337
commit a7baf9ef18
2 changed files with 287 additions and 77 deletions

View File

@@ -221,9 +221,12 @@ const handleView = (row) => {
/** 新增按钮操作 */
function handleAdd() {
reset()
form.value.createTime = dayjs(new Date().getTime()).format('YYYY-MM-DD HH:mm:ss')
open.value = true
title.value = '添加心路历程'
// 确保表单完全清空后再设置默认时间
nextTick(() => {
form.value.createTime = dayjs(new Date().getTime()).format('YYYY-MM-DD HH:mm:ss')
})
}
/** 修改按钮操作 */