fix(Calendar): incorrect height when using rem (#7190)

* fix(Calendar): incorrect height when using rem

* fix: realRowHeight default value
This commit is contained in:
neverland
2020-09-16 21:07:11 +08:00
committed by GitHub
parent 2e6e5a934b
commit 35f7e818e2
5 changed files with 41 additions and 21 deletions
-2
View File
@@ -4,8 +4,6 @@ const [createComponent, bem, t] = createNamespace('calendar');
export { createComponent, bem, t };
export const ROW_HEIGHT = 64;
export function formatMonthTitle(date: Date) {
return t('monthTitle', date.getFullYear(), date.getMonth() + 1);
}