diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 325315cf9f..f647db8531 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -951,6 +951,7 @@ export default { field_can_not_empty: '字段不能为空', conditions_can_not_empty: '字段的条件不能为空,若无条件,请直接删除该字段', remark: '备注', + remark_show: '显示备注', remark_edit: '编辑备注', remark_bg_color: '背景填充', quota_font_family: '值字体', diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/TitleSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/TitleSelector.vue index 178d77c595..feea8b5fc1 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/TitleSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/TitleSelector.vue @@ -1,5 +1,5 @@ diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index abb47d9833..390577b877 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -101,6 +101,10 @@ const snapshotStore = snapshotStoreWithOut() const state = reactive({ initReady: true, //curComponent 切换期间 不接收外部的calcData 和 renderChart 事件 title_show: true, + title_remark: { + show: false, + remark: '' + }, title_class: { fontSize: '18px', color: '#303133', @@ -240,6 +244,9 @@ const initTitle = () => { customStyle.background.alpha ) } + + state.title_remark.show = customStyle.text.remarkShow + state.title_remark.remark = customStyle.text.remark } } @@ -563,8 +570,16 @@ const toolTip = computed(() => {
+ + + + + +