mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
423 B
423 B
Format
<n-space vertical>
<n-date-picker
v-model:value="timestamp"
type="datetime"
clearable
:format="format"
/>
<n-date-picker
v-model:value="timestamp2"
type="datetime"
:format="format"
clearable
/>
</n-space>
export default {
data () {
return {
timestamp: null,
timestamp2: 1183135260000,
format: 'yyyy/MM/dd - HH:mm'
}
}
}