fix : chartRightBox 系统模块 图例中文模式修改

This commit is contained in:
likexuan
2022-10-19 11:40:40 +08:00
parent 3d50bd6caa
commit a02a99b8a7
3 changed files with 7 additions and 4 deletions

View File

@@ -244,7 +244,7 @@
<el-col class="legend-title">
{{ $t('dashboard.panel.chartForm.legend') }}&nbsp;
<el-popover placement="top" trigger="hover" width="211" popper-class="prevent-clickoutside">
<div style="word-break:keep-all;">{{ $t('dashboard.panel.chartForm.legendTip') }}</div>
<div :style="{'word-break':language!=='zh'?'keep-all':'break-all'}">{{ $t('dashboard.panel.chartForm.legendTip') }}</div>
<i slot="reference" class="nz-icon nz-icon-info-normal" style="font-size: 14px; -webkit-transform:scale(0.75);display:inline-block;"
@mouseover="rz"></i>
</el-popover>
@@ -1118,6 +1118,7 @@ export default {
return {
theme: theme,
expressions: [],
language: localStorage.getItem('nz-language') || 'en',
chartTypeList: [
{
id: 'line',