对tooltip显示bug进行了修改

This commit is contained in:
Cool 2023-11-16 18:54:50 +08:00
parent e51591dfb1
commit e0b0792dc8
1 changed files with 6 additions and 0 deletions

View File

@ -395,6 +395,9 @@ export default {
name: item.college, name: item.college,
type: 'line', type: 'line',
data: [], data: [],
tooltip:{
show:true,
},
label: { label: {
show: true, show: true,
position: 'top' position: 'top'
@ -406,6 +409,9 @@ export default {
data: [], data: [],
// //
barWidth: 50, barWidth: 50,
tooltip:{
show:false,
},
// //
itemStyle: { itemStyle: {