NEZ-1175 fix: 修复点击添加面板内的提示信息会触发 未保存提示

This commit is contained in:
@changcode
2021-11-05 15:41:25 +08:00
parent c9d75c50b4
commit 3d24cfbcf2
3 changed files with 4 additions and 3 deletions

View File

@@ -242,6 +242,7 @@
<el-popover <el-popover
placement="right" placement="right"
trigger="hover" trigger="hover"
popper-class="prevent-clickoutside"
:content="$t('asset.talonPrompt')"> :content="$t('asset.talonPrompt')">
<i slot="reference" class="nz-icon nz-icon-about"></i> <i slot="reference" class="nz-icon nz-icon-about"></i>
</el-popover> </el-popover>

View File

@@ -38,7 +38,7 @@
</el-form-item> </el-form-item>
<!--Enpoint template--> <!--Enpoint template-->
<div class="right-box-sub-title">{{ $t("overall.endpointTemplate") }} <div class="right-box-sub-title">{{ $t("overall.endpointTemplate") }}
<el-tooltip effect="light" placement="top"> <el-tooltip effect="light" placement="top" popper-class="prevent-clickoutside">
<div slot="content"> <div slot="content">
{{$t('project.module.tip.defaultEndpointSet')}} {{$t('project.module.tip.defaultEndpointSet')}}
<div></div> <div></div>

View File

@@ -406,7 +406,7 @@
<el-row style="margin-top: 18px"> <el-row style="margin-top: 18px">
<el-col class="legend-title"> <el-col class="legend-title">
{{$t('dashboard.panel.chartForm.legend')}}&nbsp; {{$t('dashboard.panel.chartForm.legend')}}&nbsp;
<el-popover placement="top" trigger="hover" width="211"> <el-popover placement="top" trigger="hover" width="211" popper-class="prevent-clickoutside">
<div :style="{'word-break':language!=='cn'?'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> <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-popover>
@@ -429,7 +429,7 @@
<div v-if="editChart.type == 'singleStat'||editChart.type == 'table'" class="form__sub-title"> <div v-if="editChart.type == 'singleStat'||editChart.type == 'table'" class="form__sub-title">
<span> <span>
{{$t('dashboard.panel.chartForm.valMapping.name')}} {{$t('dashboard.panel.chartForm.valMapping.name')}}
<el-popover placement="top" trigger="hover" width="275"> <el-popover placement="top" trigger="hover" width="275" popper-class="prevent-clickoutside">
<div style="white-space: pre-wrap;">{{$t('dashboard.panel.chartForm.valueMappingTip')}}</div> <div style="white-space: pre-wrap;">{{$t('dashboard.panel.chartForm.valueMappingTip')}}</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> <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-popover>