mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
289 B
289 B
Date Range
<n-date-picker
v-model="range"
type="daterange"
clearable
/>
<pre>{{ JSON.stringify(range) }}</pre>
export default {
data() {
return {
range: [1183135260000, Date.now()]
}
}
}
.n-date-picker {
margin: 0 12px 8px 0;
}