CN-282 fix:优化panel 刷新

This commit is contained in:
zhangyu
2022-01-27 14:17:29 +08:00
parent 195d0cd46e
commit ed347576b6
2 changed files with 9 additions and 1 deletions

View File

@@ -110,6 +110,11 @@ export default {
this.stepWidth = Math.floor(dom.offsetWidth / 12)
}
},
reload () {
this.copyDataList.forEach(item => {
this.$refs['chart' + item.id].getChartData()
})
},
showFullscreen (show, chartInfo) {
this.fullscreen.chartInfo = chartInfo
this.fullscreen.visible = show