mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
525 B
525 B
Actions
<n-space vertical>
<n-date-picker v-model:value="ts1" type="date" :actions="['confirm']" />
<n-date-picker v-model:value="ts2" type="datetime" :actions="['now']" />
<n-date-picker v-model:value="range1" type="daterange" :actions="null" />
<n-date-picker
v-model:value="range2"
type="datetimerange"
:actions="['clear']"
/>
</n-space>
export default {
data () {
return {
ts1: null,
ts2: 1183135260000,
range1: null,
range2: null
}
}
}