Revert "对tooltip显示bug进行了修改"

This reverts commit 93c9212bd3.
This commit is contained in:
Cool 2023-11-16 18:52:00 +08:00
parent 93c9212bd3
commit e51591dfb1
1 changed files with 6 additions and 11 deletions

View File

@ -308,7 +308,7 @@ export default {
text: ''
},
tooltip: {
trigger: 'axis',
trigger: 'axis'
},
legend: {
data: colleges
@ -398,11 +398,7 @@ export default {
label: {
show: true,
position: 'top'
},
tooltip: {
trigger: 'axis',
show: true
},
}
},
{
name: item.college,
@ -410,14 +406,13 @@ export default {
data: [],
//
barWidth: 50,
tooltip: {
trigger: 'axis',
show: false
},
//
itemStyle: {
color: 'rgba(84,122,198,0.9)'
color: 'rgba(84,122,198,0.9)'
},
},
]
}