fix: 优化注册页面,修复心路历程bug。
This commit is contained in:
@@ -226,9 +226,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')
|
||||
})
|
||||
}
|
||||
|
||||
/** 修改按钮操作 */
|
||||
|
||||
Reference in New Issue
Block a user