mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 06:59:26 +08:00
fix: getFontColor (#6241)
This commit is contained in:
parent
da0821d20e
commit
90f27dfb60
@ -350,7 +350,7 @@ export const Calendar: any = withDynamicSchemaProps(
|
|||||||
const backgroundColor = getBackgroundColor?.(event.colorFieldValue);
|
const backgroundColor = getBackgroundColor?.(event.colorFieldValue);
|
||||||
const style = {};
|
const style = {};
|
||||||
if (fontColor) {
|
if (fontColor) {
|
||||||
style['fontColor'] = fontColor;
|
style['color'] = fontColor;
|
||||||
}
|
}
|
||||||
if (backgroundColor) {
|
if (backgroundColor) {
|
||||||
style['backgroundColor'] = backgroundColor;
|
style['backgroundColor'] = backgroundColor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user