Open WeiShen68 opened 5 months ago
<template> <VDatePicker v-model="date"> <template v-slot="{ inputValue, inputEvents }"> <v-text-field :value="inputValue" v-on="inputEvents" > </v-text-field> </template> </DatePicker> </template> <script setup> import { ref } from 'vue'; const date = ref(new Date()); </script>