mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
feat(form): date,date-time值默认的日期格式改成/,以兼容ios
This commit is contained in:
parent
07a02714df
commit
2b07a6de2d
@ -6,7 +6,7 @@
|
||||
:placeholder="config.placeholder"
|
||||
:disabled="disabled"
|
||||
:format="config.format"
|
||||
:value-format="config.valueFormat || 'YYYY-MM-DD HH:mm:ss'"
|
||||
:value-format="config.valueFormat || 'YYYY/MM/DD HH:mm:ss'"
|
||||
@change="changeHandler"
|
||||
></TMagicDatePicker>
|
||||
</template>
|
||||
|
@ -6,8 +6,8 @@
|
||||
:size="size"
|
||||
:placeholder="config.placeholder"
|
||||
:disabled="disabled"
|
||||
:format="config.format || 'YYYY-MM-DD HH:mm:ss'"
|
||||
:value-format="config.valueFormat || 'YYYY-MM-DD HH:mm:ss'"
|
||||
:format="config.format || 'YYYY/MM/DD HH:mm:ss'"
|
||||
:value-format="config.valueFormat || 'YYYY/MM/DD HH:mm:ss'"
|
||||
:default-time="config.defaultTime"
|
||||
@change="changeHandler"
|
||||
></TMagicDatePicker>
|
||||
|
Loading…
x
Reference in New Issue
Block a user