fix: 修复日期格式
This commit is contained in:
parent
767501ec11
commit
d404fe7e11
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue