fix: getFontColor (#6241)

This commit is contained in:
Katherine 2025-02-18 17:58:21 +08:00 committed by GitHub
parent da0821d20e
commit 90f27dfb60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -350,7 +350,7 @@ export const Calendar: any = withDynamicSchemaProps(
const backgroundColor = getBackgroundColor?.(event.colorFieldValue);
const style = {};
if (fontColor) {
style['fontColor'] = fontColor;
style['color'] = fontColor;
}
if (backgroundColor) {
style['backgroundColor'] = backgroundColor;