fix: 空间交互失效

This commit is contained in:
limingzhang
2023-03-11 18:19:30 +08:00
committed by 奔跑的面条
parent 5846cbb254
commit 9a78b17b36
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -19,9 +19,9 @@ export const useChartInteract = (
return item.interactOn === onEvent
})
if (fnOnEvent.length === 0) return
fnOnEvent.forEach(item => {
const index = chartEditStore.fetchTargetIndex(item.interactComponents)
if (index !== -1) return
const { Params, Header } = toRefs(chartEditStore.componentList[index].request.requestParams)
Object.keys(item.interactFn).forEach(key => {
if (Params.value[key]) {