diff --git a/src/views/chart/ContentConfigurations/components/hooks/useTargetData.hook.ts b/src/views/chart/ContentConfigurations/components/hooks/useTargetData.hook.ts index 7347a78c..0fde624e 100644 --- a/src/views/chart/ContentConfigurations/components/hooks/useTargetData.hook.ts +++ b/src/views/chart/ContentConfigurations/components/hooks/useTargetData.hook.ts @@ -1,11 +1,11 @@ import { computed, Ref } from 'vue' -import { CreateComponentType } from '@/packages/index.d' +import { CreateComponentType, CreateComponentGroupType } from '@/packages/index.d' import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore' // 获取当前对象数据 export const useTargetData = () => { const chartEditStore = useChartEditStore() - const targetData: Ref = computed(() => { + const targetData: Ref = computed(() => { const list = chartEditStore.getComponentList const targetIndex = chartEditStore.fetchTargetIndex() return list[targetIndex]