修改setTheDate

This commit is contained in:
GGJ
2024-12-02 13:35:47 +08:00
parent 834fc6895a
commit 7b4ef4bd92

View File

@@ -518,7 +518,7 @@ function formatDate(date: Date): string {
const day = String(date.getDate()).padStart(2, '0') const day = String(date.getDate()).padStart(2, '0')
return `${year}-${month}-${day}` return `${year}-${month}-${day}`
} }
defineExpose({ timeValue, interval, timeFlag, setTimeOptions, setInterval, getYearOnYear, getMonthOnMonth, timeChange }) defineExpose({ timeValue, interval, timeFlag, setTimeOptions, setTheDate, getYearOnYear, getMonthOnMonth, timeChange })
</script> </script>
<style scoped> <style scoped>