Merge remote-tracking branch 'origin/dev' into master-fetch-dev

This commit is contained in:
奔跑的面条
2022-11-22 12:43:27 +08:00
4 changed files with 20 additions and 5 deletions
+2
View File
@@ -9,6 +9,8 @@ export const npmPkgs = { echarts }
// 组件事件处理 hook
export const useLifeHandler = (chartConfig: CreateComponentType | CreateComponentGroupType) => {
if (!chartConfig.events) return {}
// 处理基础事件
const baseEvent: { [key: string]: any } = {}
for (const key in chartConfig.events.baseEvent) {