Mod: 示例

pull/77/head
Maorey 2018-09-10 14:32:14 +08:00
parent 27cc176162
commit 3810167f2c
1 changed files with 7 additions and 7 deletions

View File

@ -26,10 +26,10 @@
container: '#start_date',
type: 'time',
done: function (value, date) {
setAtts(end.config.min, date || {
hours: 0,
minutes: 0,
seconds: 0
setAtts(end.config.min, {
hours: date.hours || 0,
minutes: date.minutes || 0,
seconds: date.seconds || 0
});
}
});
@ -39,9 +39,9 @@
type: 'time',
done: function (value, date) {
setAtts(start.config.max, date || {
hours: 23,
minutes: 59,
seconds: 59
hours: date.hours || 23,
minutes: date.minutes || 59,
seconds: date.seconds || 59
});
}
});