mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
284 B
284 B
日期
<n-date-picker
v-model:value="timestamp"
type="date"
clearable
/>
<pre>{{ JSON.stringify(timestamp) }}</pre>
export default {
data () {
return {
timestamp: 1183135260000
}
}
}
.n-date-picker {
margin: 0 12px 8px 0;
}