fix: todo

This commit is contained in:
xingyu
2022-11-28 22:38:24 +08:00
parent 26fd35e31d
commit 227e11f9c7
6 changed files with 14 additions and 10 deletions

View File

@@ -12,8 +12,8 @@ VXETable.renderer.add('XDataTimePicker', {
return (
<ElDatePicker
v-model={data[field]}
style="width: 100%"
type={content ? (content as any) : 'datetimerange'}
style="maxWidth: 300px"
value-format="YYYY-MM-DD HH:mm:ss"
range-separator="-"
start-placeholder={t('common.startTimeText')}