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

@@ -98,7 +98,7 @@
<el-col class="legend-title">
<span class="legend-title__span">{{$t('dashboard.panel.chartForm.legend')}}&nbsp;</span>
<el-popover placement="top" trigger="hover" width="211" popper-class="prevent-clickoutside">
<div style="word-break:break-all; white-space: normal">{{$t('dashboard.panel.chartForm.legendTip')}}</div>
<div style="white-space: normal" :style="{'word-break':language!=='zh'?'keep-all':'break-all'}">{{$t('dashboard.panel.chartForm.legendTip')}}</div>
<!-- <div :style="{'word-break':language!=='cn'?'keep-all':'break-all'}">{{$t('dashboard.panel.chartForm.legendTip')}}</div> -->
<i @mouseover="rz" class="nz-icon nz-icon-info-normal" slot="reference" style="font-size: 14px; -webkit-transform:scale(0.75);display:inline-block;"></i>
</el-popover>
@@ -969,6 +969,7 @@ export default {
oldType: '',
tag: '',
promqlType: 'log',
language: localStorage.getItem('nz-language') || 'en',
showHidden: [
{
id: 'show',