From 06b479cf96cdef66b937b785b5aeccc2ccd817b5 Mon Sep 17 00:00:00 2001 From: Carl <13352840347@163.com> Date: Mon, 23 Dec 2024 18:06:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E7=BB=84=E4=BB=B6=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E7=A6=81=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../uview-plus/components/u-datetime-picker/props.js | 4 ++++ .../components/u-datetime-picker/u-datetime-picker.vue | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/uni_modules/uview-plus/components/u-datetime-picker/props.js b/src/uni_modules/uview-plus/components/u-datetime-picker/props.js index 190b937ae..e1711f930 100644 --- a/src/uni_modules/uview-plus/components/u-datetime-picker/props.js +++ b/src/uni_modules/uview-plus/components/u-datetime-picker/props.js @@ -6,6 +6,10 @@ export const props = defineMixin({ hasInput: { type: Boolean, default: () => false + }, + disabled: { + type: Boolean, + default: () => false }, placeholder: { type: String, diff --git a/src/uni_modules/uview-plus/components/u-datetime-picker/u-datetime-picker.vue b/src/uni_modules/uview-plus/components/u-datetime-picker/u-datetime-picker.vue index 5b3afd183..7871466a2 100644 --- a/src/uni_modules/uview-plus/components/u-datetime-picker/u-datetime-picker.vue +++ b/src/uni_modules/uview-plus/components/u-datetime-picker/u-datetime-picker.vue @@ -1,7 +1,7 @@