Merge pull request #1185 from QingWei-Li/fix/select-time

TimeSelect: fix 00:00 is disabled, fixed #676
pull/1194/head
baiyaaaaa 2016-11-18 15:32:41 +08:00 committed by GitHub
commit f454d31378
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@
while (compareTime(current, end) <= 0) {
result.push({
value: current,
disabled: compareTime(current, this.minTime || '00:00') <= 0
disabled: compareTime(current, this.minTime || '-1:-1') <= 0
});
current = nextTime(current, step);
}