NEZ-2774 fix: project topology 中图表预览异常
This commit is contained in:
@@ -69,6 +69,7 @@
|
||||
>
|
||||
<meta2dTooltip
|
||||
ref="meta2dTooltip"
|
||||
:meta2dId="meta2dId"
|
||||
:params="chartParams"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user