Merge pull request #5427 from dataease/pr@dev@fix_echarts_tooltip_covered

fix(视图-提示): 修复 echarts 提示被遮挡。
This commit is contained in:
wisonic-s 2023-06-08 18:53:16 +08:00 committed by GitHub
commit 213b2b4d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -396,6 +396,9 @@ export default {
chart_option.legend['pageIconInactiveColor'] = '#8c8c8c'
}
}
if (chart_option.tooltip) {
chart_option.tooltip.appendToBody = true
}
this.myEcharts(chart_option)
this.$nextTick(() => (this.linkageActive()))
},