diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts index a13fecd54e..92533be380 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts @@ -276,7 +276,7 @@ export function getCustomTheme(chart: Chart): S2Theme { } merge(theme, tmpTheme) } - if (tableHeader.showVerticalBorder === false) { + if (tableHeader.showVerticalBorder === false && tableHeader.showTableHeader !== false) { const tmpTheme: S2Theme = { splitLine: { verticalBorderColor: tableHeaderBgColor, @@ -287,6 +287,12 @@ export function getCustomTheme(chart: Chart): S2Theme { verticalBorderColor: tableHeaderBgColor, verticalBorderWidth: 0 } + }, + cornerCell: { + cell: { + verticalBorderColor: tableHeaderBgColor, + verticalBorderWidth: 0 + } } } merge(theme, tmpTheme)