NEZ-2774 fix: project topology 中图表预览异常

This commit is contained in:
zhangyu
2023-04-14 14:56:05 +08:00
parent c786269c39
commit e314d978ac
2 changed files with 3 additions and 0 deletions

View File

@@ -69,6 +69,7 @@
>
<meta2dTooltip
ref="meta2dTooltip"
:meta2dId="meta2dId"
:params="chartParams"
/>
</div>

View File

@@ -25,6 +25,7 @@ export default {
name: 'meta2dTooltip',
props: {
params: {},
meta2dId: {}
},
mixins: [topoUtil],
computed: {
@@ -51,6 +52,7 @@ export default {
return
}
this.chartInfo.type = this.params.chartType || 'line'
this.chartInfo.id = this.meta2dId + 'meta2DTooltip'
const chartData = []
const elements = []
const obj = {}