|
@@ -189,10 +189,10 @@ export default {
|
|
|
CHART_CONTENT_TEXT.value = val.CHART_CONTENT_TEXT;
|
|
|
}
|
|
|
if(val.CHART_CONTENT_TEXT.title){
|
|
|
- chartsSettingForm.value.headerContent = val.CHART_CONTENT_TEXT.title.text!==undefined?val.CHART_CONTENT_TEXT.title.text:'';
|
|
|
- chartsSettingForm.value.fontColor = val.CHART_CONTENT_TEXT.title.textStyle.color;
|
|
|
- chartsSettingForm.value.fontSize = val.CHART_CONTENT_TEXT.title.textStyle.fontSize;
|
|
|
- chartsSettingForm.value.fontStyleName = val.CHART_CONTENT_TEXT.title.textStyle.fontWeight;
|
|
|
+ chartsSettingForm.value.headerContent = val.CHART_CONTENT_TEXT.title?.text!==undefined?val.CHART_CONTENT_TEXT.title?.text:'';
|
|
|
+ chartsSettingForm.value.fontColor = val.CHART_CONTENT_TEXT.title?.textStyle?.color;
|
|
|
+ chartsSettingForm.value.fontSize = val.CHART_CONTENT_TEXT.title?.textStyle?.fontSize;
|
|
|
+ chartsSettingForm.value.fontStyleName = val.CHART_CONTENT_TEXT.title?.textStyle?.fontWeight;
|
|
|
changeTitleUrl(val.CHART_CONTENT_TEXT.title.left)
|
|
|
}else{
|
|
|
chartsSettingForm.value.headerContent = '';
|