NEZ-1121 fix;鼠标放在图例文字上,文字显示问题

This commit is contained in:
zhangyu
2021-10-28 16:58:09 +08:00
parent 09aaf4c787
commit 90346ba198

View File

@@ -407,7 +407,7 @@
<el-col class="legend-title">
{{$t('dashboard.panel.chartForm.legend')}}&nbsp;
<el-popover placement="top" trigger="click" width="211">
<div style="word-break:keep-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>
</el-col>
@@ -573,6 +573,7 @@ export default {
data () {
return {
fromRoute,
language: localStorage.getItem('nz-language'),
optionBtn: {
save: false
},