From 897dccd2074c8aa9c6932f37a52de33de0b2d2ff Mon Sep 17 00:00:00 2001 From: hale Date: Mon, 8 Jan 2018 15:46:31 +0800 Subject: [PATCH] =?UTF-8?q?misc:=201.=20=E4=BC=98=E5=8C=96maxDate\minDate?= =?UTF-8?q?=E4=BC=A0=E5=85=A5=E6=97=B6=E9=97=B4=E6=88=B3=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E5=80=99=E6=8A=A5=E9=94=99;2.=20=E5=A2=9E=E5=8A=A0disabed?= =?UTF-8?q?=E6=97=B6=E5=88=86=E7=A7=92=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../form/KLDatePicker/TimePicker/index.html | 6 +++--- .../form/KLDatePicker/TimePicker/index.js | 3 +++ .../components/form/KLDatePicker/index.html | 6 +++++- src/js/components/form/KLDatePicker/index.js | 11 ++++++++++ src/js/components/form/KLDatePicker/index.md | 20 +++++++++++++++++++ 5 files changed, 42 insertions(+), 4 deletions(-) diff --git a/src/js/components/form/KLDatePicker/TimePicker/index.html b/src/js/components/form/KLDatePicker/TimePicker/index.html index 131e6b54..6340bd69 100644 --- a/src/js/components/form/KLDatePicker/TimePicker/index.html +++ b/src/js/components/form/KLDatePicker/TimePicker/index.html @@ -1,7 +1,7 @@ - + : - + : - + \ No newline at end of file diff --git a/src/js/components/form/KLDatePicker/TimePicker/index.js b/src/js/components/form/KLDatePicker/TimePicker/index.js index 925b949e..87b987a1 100644 --- a/src/js/components/form/KLDatePicker/TimePicker/index.js +++ b/src/js/components/form/KLDatePicker/TimePicker/index.js @@ -22,6 +22,9 @@ require('../NumberInput'); * @param {boolean} [options.data.disabled=false] => 是否禁用 * @param {boolean} [options.data.visible=true] => 是否显示 * @param {string} [options.data.class] => 补充class + * @param {boolean} [options.data.disabledHours=false] => 是否禁用小时输入框 + * @param {boolean} [options.data.disabledMinutes=false] => 是否禁用分钟输入框 + * @param {boolean} [options.data.disabledSeconds=false] => 是否禁用秒输入框 */ const TimePicker = Component.extend({ name: 'time-picker', diff --git a/src/js/components/form/KLDatePicker/index.html b/src/js/components/form/KLDatePicker/index.html index b4db7c9a..b475aa27 100644 --- a/src/js/components/form/KLDatePicker/index.html +++ b/src/js/components/form/KLDatePicker/index.html @@ -16,7 +16,11 @@