fix: 修复日期格式

This commit is contained in:
wangshuaiswim 2023-04-01 14:54:42 +08:00
parent 767501ec11
commit d404fe7e11
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ const changeType = (val: SelectValue) => {
_value.value.fileType = _value.value.fileType || 'url' _value.value.fileType = _value.value.fileType || 'url'
} }
if (['date'].includes(val as string)) { if (['date'].includes(val as string)) {
_value.value.format = _value.value.format || 'yyyy-MM-DD HH:mm:ss' _value.value.format = _value.value.format || 'yyyy-MM-dd HH:mm:ss'
} }
emit('changeType', val as string) emit('changeType', val as string)
} }