Files
workspace/code/g3soft-libs/docs/examples/date/range-basic.vue
T
2026-10-09 17:32:14 +08:00

14 lines
369 B
Vue

<script setup lang="ts">
// RangePicker:两次点击确定起止;先点的那次是起点,再点一次是终点(顺序反了会自动交换)
import { ref } from 'vue'
import { G3RangePicker } from '@g3soft/ui'
const range = ref<string[]>(['', ''])
</script>
<template>
<div style="width: 320px">
<G3RangePicker v-model="range" />
</div>
</template>