fix: cahrtHeader title过长隐藏时,增加鼠标移入展示完整title

This commit is contained in:
@changcode
2022-03-09 15:53:22 +08:00
parent 36cd9af819
commit faff633722
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
</span>
</el-popover>
</span>
<div class="chart-header__title">{{chartInfo.name}}</div>
<div class="chart-header__title" :title="chartInfo.name">{{chartInfo.name}}</div>
<div class="chart-header__tools">
<span v-if="chartInfo.remark" class="chart-header__tool top-tool-btn-group">
<el-tooltip :content="chartInfo.remark" effect="light" placement="top">

View File

@@ -26,7 +26,7 @@
</span>
</el-popover>
</span>
<div class="chart-header__title" v-if="!isGroup">{{chartInfo.name}}</div>
<div class="chart-header__title" v-if="!isGroup" :title="chartInfo.name">{{chartInfo.name}}</div>
<div class="chart-header__title" v-else >
<span @click="groupShow"> <i class="nz-icon" :class="chartInfo.param.collapse ? 'nz-icon-arrow-right': 'nz-icon-arrow-down'"></i></span>
{{chartInfo.name}}