NEZ-2614 fix:修改 bug
This commit is contained in:
@@ -223,6 +223,15 @@ export default {
|
||||
if (!pen.data.tooltip.legends.length) {
|
||||
return
|
||||
}
|
||||
let positionShow = false
|
||||
pen.data.tooltip.legends.forEach(item=>{
|
||||
if (item.legend) {
|
||||
positionShow = true
|
||||
}
|
||||
})
|
||||
if (!positionShow) {
|
||||
return;
|
||||
}
|
||||
this.chartParams = {
|
||||
...pen.data.tooltip,
|
||||
unit: this.params.unit,
|
||||
|
||||
@@ -10,6 +10,7 @@ export default {
|
||||
},
|
||||
initEdit (id) {
|
||||
bus.$emit('changeSelectPens', [])
|
||||
getTopology(id).active([])
|
||||
getTopology(id).lock(0)
|
||||
getTopology(id).stopAnimate()
|
||||
if (getTopology(id).data().pens) {
|
||||
|
||||
Reference in New Issue
Block a user