Commit ff9eba45 by 李嘉林

fix

parent 9d125ba7
...@@ -393,7 +393,7 @@ export default { ...@@ -393,7 +393,7 @@ export default {
return this.datas.componentData.mainLabelDefaultFontSize || 12; return this.datas.componentData.mainLabelDefaultFontSize || 12;
}, },
mainLabelDefaultColor() { mainLabelDefaultColor() {
return this.datas.componentData.mainLabelDefaultColor; return this.datas.componentData.mainLabelDefaultColor || "#333";
}, },
defaultTitleIsBold() { defaultTitleIsBold() {
return this.datas.componentData.defaultTitleIsBold; return this.datas.componentData.defaultTitleIsBold;
...@@ -668,7 +668,7 @@ $wrapWidth: 50px; ...@@ -668,7 +668,7 @@ $wrapWidth: 50px;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
color: var(--main-label-default-color, #333)!important; color: var(--main-label-default-color)!important;
font-size: var(--main-label-default-font-size)!important; font-size: var(--main-label-default-font-size)!important;
font-weight: var(--default-title-is-bold)!important; font-weight: var(--default-title-is-bold)!important;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment