Skip to content

Conversation

@jmni-cn
Copy link

@jmni-cn jmni-cn commented Oct 16, 2025

<template>
  <n-date-picker
    v-model:value="range"
    type="daterange"
    single-panel
    clearable
  />
  <n-date-picker
    v-model:value="range"
    type="daterange"
    panel
    single-panel
    clearable
  />
  <pre>{{ JSON.stringify(range) }}</pre>
</template>

<script setup lang="ts">
import { ref } from 'vue'

const range = ref<[number, number]>([Date.now(), Date.now()])
</script>
image

&

image

@vercel
Copy link

vercel bot commented Oct 16, 2025

@jmni-cn is attempting to deploy a commit to the naive-ui Team on Vercel.

A member of the Team first needs to authorize it.

@jmni-cn jmni-cn closed this Oct 16, 2025
@jmni-cn jmni-cn reopened this Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant