TimeSelect: fix 00:00 is disabled, fixed #676

pull/1207/head
qingwei.li 2016-11-18 14:47:37 +08:00 committed by Leopoldthecoder
parent 904a739499
commit ffc136fa8d
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);
}