NEZ-1025 fix:panel name超长 限制 最大宽度 (补充显示 chartNum 以及 下拉框内显示 title)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
</template>
|
||||
<template v-slot:trigger>
|
||||
<i style="color: #BEBEBE" class="el-icon-menu"></i>
|
||||
<span :title="showPanel.name" class="show-panel-name">{{showPanel.name}}</span>
|
||||
<span :title="showPanel.name + ' (' + showPanel.chartNum +'charts )' " class="show-panel-name">{{showPanel.name}}</span>
|
||||
<i style="font-size: 12px;color: #BEBEBE;" class="nz-icon nz-icon-arrow-down"></i>
|
||||
</template>
|
||||
<template v-slot:tail>
|
||||
@@ -517,7 +517,7 @@ export default {
|
||||
this.panelData = response.data.list
|
||||
for (let i = 0; i < this.panelData.length; i++) {
|
||||
if (this.panelData[i].id == this.showPanel.id) {
|
||||
this.showPanel.name = this.panelData[i].name
|
||||
this.showPanel = this.panelData[i]
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user