refactor(图表): typo (#15291)

This commit is contained in:
wisonic-s
2025-03-11 20:17:56 +08:00
committed by GitHub
parent 3bdc9f1120
commit 074937332a
3 changed files with 5 additions and 6 deletions

View File

@@ -1961,7 +1961,7 @@ export default {
radar_area_color: 'Enable area',
table_freeze_tip: 'After merging cells, column and row freezing is not supported',
merge_cells_tips:
'After merging cells, row and column freezing, automatic line wrapping, and zebra pattern will become invalid',
'After merging cells, row and column freezing, automatic line wrapping, and zebra pattern will become invalid, the serial number of the current page will start from 1',
merge_cells_break_line_tip: 'After merging cells, automatic line wrapping is not supported',
font_family_ya_hei: 'Microsoft YaHei',
font_family_song_ti: 'SimSun',
@@ -2037,8 +2037,7 @@ export default {
increase: 'Increase',
decrease: 'Decrease',
accumulate: 'Accumulate',
table_cross_bg_tip:
'After merging cells, the zebra pattern is not supported, and the serial number of the current page will start from 1',
table_cross_bg_tip: 'After merging cells, the zebra pattern is not supported',
pivot_export_invalid_field:
'The row dimension or indicator dimension is empty and can not be exported !',
pivot_export_invalid_col_exceed:

View File

@@ -1916,7 +1916,7 @@ export default {
radar_point_size: '辅助点大小',
radar_area_color: '开启面积',
table_freeze_tip: '合并单元格后,不支持行列冻结',
merge_cells_tips: '合并单元格后,行列冻结、自动换行、班马纹会失效,当前页的序号会从 1 开始',
merge_cells_tips: '合并单元格后,行列冻结、自动换行和斑马纹会失效,当前页的序号会从 1 开始',
merge_cells_break_line_tip: '合并单元格后,不支持自动换行',
font_family_ya_hei: '微软雅黑',
font_family_song_ti: '宋体',
@@ -1989,7 +1989,7 @@ export default {
decrease: '减少',
waterfall_total: '合计',
accumulate: '累加',
table_cross_bg_tip: '合并单元格后,不支持班马纹',
table_cross_bg_tip: '合并单元格后,不支马纹',
pivot_export_invalid_field: '行维度或指标维度为空不可导出!',
pivot_export_invalid_col_exceed: '表格列数超过最大限制不可导出!',
expand_all: '全展开',

View File

@@ -602,7 +602,7 @@ export function getConditions(chart: Chart) {
const dimFields = [...chart.xAxis, ...chart.xAxisExt].map(i => i.dataeaseName)
if (conditions?.length > 0) {
const { tableCell, basicStyle, tableHeader } = parseJson(chart.customAttr)
// 合并单元格时,班马纹失效
// 合并单元格时马纹失效
const enableTableCrossBG = chart.type === 'table-info' ? tableCell.enableTableCrossBG && !tableCell.mergeCells : tableCell.enableTableCrossBG
const valueColor = isAlphaColor(tableCell.tableFontColor)
? tableCell.tableFontColor