diff --git a/core/core-frontend/src/custom-component/v-query/Component.vue b/core/core-frontend/src/custom-component/v-query/Component.vue index b86c6cdca7..782a7ea5d6 100644 --- a/core/core-frontend/src/custom-component/v-query/Component.vue +++ b/core/core-frontend/src/custom-component/v-query/Component.vue @@ -76,8 +76,6 @@ const defaultStyle = { titleShow: false, titleColor: '', textColorShow: false, - bgColorShow: false, - borderShow: false, labelShow: true, title: '', labelColor: '#1f2329', @@ -145,9 +143,7 @@ const { datasetFieldList } = comInfo() const setCustomStyle = val => { const { - borderShow, borderColor, - bgColorShow, btnList, titleLayout, labelColor, @@ -172,8 +168,8 @@ const setCustomStyle = val => { placeholderShow, labelShow } = val - customStyle.background = bgColorShow ? bgColor || '' : '' - customStyle.border = borderShow ? borderColor || '' : '' + customStyle.background = bgColor || '' + customStyle.border = borderColor || '' customStyle.btnList = [...btnList] customStyle.layout = layout customStyle.placeholderShow = placeholderShow ?? true diff --git a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts index 3f849381f7..b3b45184a7 100644 --- a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts +++ b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts @@ -486,14 +486,12 @@ export const dvMainStore = defineStore('dataVisualization', { show: true, color, titleShow: false, - borderShow: false, text, textColorShow: false, labelColor, borderColor, title: '', borderWidth: 1, - bgColorShow: false, bgColor, titleColor, titleLayout, diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue index 5e7d0a8eed..a7a25bd25c 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue @@ -298,27 +298,49 @@ const onTitleChange = () => { - - - {{ t('visualization.board') }} - - + + + + + + + + + + + + - @@ -403,42 +425,6 @@ const onTitleChange = () => { v-model.lazy="currentSearch.queryConditionWidth" /> - - - {{ t('visualization.custom_query_bg_color') }} - - - - - - - -