fix: 修复有些图表刷新按钮不生效的问题
This commit is contained in:
@@ -1287,7 +1287,6 @@ export default {
|
||||
const queryParams = { ...this.queryTimeRange, ...this.entity }
|
||||
this.chartOption.series[0].tooltip = {
|
||||
formatter: function (param) {
|
||||
console.info(param)
|
||||
return `
|
||||
<div class="sankey__tooltip">
|
||||
<div class="sankey__tooltip-row">
|
||||
@@ -1369,8 +1368,6 @@ export default {
|
||||
value: item.bytes
|
||||
}
|
||||
})
|
||||
console.info(data)
|
||||
console.info(link)
|
||||
this.chartOption.series[0].data = data
|
||||
this.chartOption.series[0].links = link
|
||||
this.myChart.setOption(this.chartOption)
|
||||
|
||||
@@ -63,7 +63,15 @@
|
||||
</div>
|
||||
<div class="entity-detail__body">
|
||||
<div class="cn-panel">
|
||||
<chart v-for="chart in detailChartList" :key="chart.id" :chart="chart" :time-filter="timeFilter" :ref="`chart-${chart.id}`" :entity="entity"></chart>
|
||||
<chart
|
||||
v-for="chart in detailChartList"
|
||||
:key="chart.id"
|
||||
:chart="chart"
|
||||
:time-filter="timeFilter"
|
||||
:ref="`chart-${chart.id}`"
|
||||
:entity="entity"
|
||||
@getCurrentTimeRange="getCurrentTimeRange"
|
||||
></chart>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user