feat: 引入 tiny-emitter 插件

This commit is contained in:
@changcode
2022-01-19 16:18:11 +08:00
parent da28c3d940
commit 53202d7b0c
3 changed files with 10 additions and 0 deletions

View File

@@ -232,6 +232,7 @@ export default {
this.standaloneTimeRange.use = true
this.standaloneTimeRange.startTime = myStartTime
this.standaloneTimeRange.endTime = myEndTime
this.emitter.emit('chart-pageNo')
this.getChartData(null, {}, true)
},
showFullscreen (show) {
@@ -288,6 +289,7 @@ export default {
this.loading = show
},
tableChange () {
this.emitter.emit('chart-pageNo')
this.getChartData()
},
getTargetPageData (pageNum, pageSize, tableData) {