From b5f084460e9e639358fbf91056a86be8d0a5c4b2 Mon Sep 17 00:00:00 2001
From: yaolonglong <yaolonglong15@163.com>
Date: 星期四, 09 十月 2025 20:18:57 +0800
Subject: [PATCH] 获取验证码功能
---
uni_modules/yt-dateTimePicker/components/yt-dateTimePicker/yt-dateTimePicker.vue | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/uni_modules/yt-dateTimePicker/components/yt-dateTimePicker/yt-dateTimePicker.vue b/uni_modules/yt-dateTimePicker/components/yt-dateTimePicker/yt-dateTimePicker.vue
index 4e32bc2..ef1527f 100644
--- a/uni_modules/yt-dateTimePicker/components/yt-dateTimePicker/yt-dateTimePicker.vue
+++ b/uni_modules/yt-dateTimePicker/components/yt-dateTimePicker/yt-dateTimePicker.vue
@@ -53,6 +53,14 @@
type: Number,
default: 2000,
},
+ startMonth: {
+ type: Number,
+ default: 0
+ },
+ startDay: {
+ type: Number,
+ default: 0
+ },
endYear: {
type: Number,
default: 2099,
@@ -68,7 +76,7 @@
timeInit: {
type: String,
default: '', //new Date('2023-5-20').valueOf()
- },
+ }
},
data() {
@@ -132,6 +140,7 @@
initMonths() {
const months = [];
+
for (let month = 1; month <= 12; month++) {
months.push(month);
if (this.currentDatetime.getMonth() + 1 === month) {
--
Gitblit v1.9.1