CN-591 fix: 修复图表刷新时间问题
This commit is contained in:
@@ -167,6 +167,10 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
reload () {
|
||||
this.standaloneTimeRange.use = false
|
||||
this.getChartData()
|
||||
},
|
||||
/* 参数 extraParams 额外请求参数 */
|
||||
getChartData (url, extraParams = {}, chartTimeFilter, num) {
|
||||
this.loading = true
|
||||
|
||||
@@ -119,7 +119,7 @@ export default {
|
||||
reload () {
|
||||
this.copyDataList.forEach(item => {
|
||||
if (this.$refs['chart' + item.id]) {
|
||||
this.$refs['chart' + item.id].getChartData()
|
||||
this.$refs['chart' + item.id].reload()
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user