fix(Calendar): row-height not work

This commit is contained in:
陈嘉涵
2019-12-26 19:59:08 +08:00
committed by neverland
parent 51c4dc180b
commit d9da405b95
3 changed files with 28 additions and 12 deletions
+3
View File
@@ -5,6 +5,9 @@ const [createComponent, bem, t] = createNamespace('calendar');
export { createComponent, bem, t };
export const ROW_HEIGHT = 64;
export const RENDER_OFFSET = 150;
export function formatMonthTitle(date: Date) {
return t('monthTitle', date.getFullYear(), padZero(date.getMonth() + 1));
}