mirror of https://github.com/ElemeFE/element
fix #1827
parent
15e74b6e7d
commit
3a774939ef
|
@ -231,7 +231,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selectionMode === 'day' && (cell.type === 'normal' || cell.type === 'today') &&
|
if (selectionMode === 'day' && (cell.type === 'normal' || cell.type === 'today') &&
|
||||||
this.year === this.date.getFullYear() && this.month === this.date.getMonth() && monthDate === Number(cell.text)) {
|
Number(this.year) === this.date.getFullYear() && this.month === this.date.getMonth() && monthDate === Number(cell.text)) {
|
||||||
classes.push('current');
|
classes.push('current');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue