24 lines
846 B
Vue
Raw Normal View History

2022-10-11 18:31:29 +08:00
<template>
<!-- 事件配置 -->
2022-10-16 20:46:01 +08:00
<n-collapse class="go-mt-3" arrow-placement="right" :default-expanded-names="['1', '2']">
<n-text depth="3">
组件 id
<n-text>{{ targetData.id }}</n-text>
</n-text>
2023-03-08 15:06:45 +08:00
<ChartEvebtInteraction></ChartEvebtInteraction>
2022-11-12 23:03:13 +08:00
<chart-event-base-handle></chart-event-base-handle>
<chart-event-advanced-handle></chart-event-advanced-handle>
2022-10-11 18:31:29 +08:00
</n-collapse>
</template>
<script setup lang="ts">
2022-10-16 20:46:01 +08:00
import { ref } from 'vue'
2023-03-08 15:06:45 +08:00
import { ChartEvebtInteraction } from './components/ChartEvebtInteraction'
2022-11-12 23:03:13 +08:00
import { ChartEventAdvancedHandle } from './components/ChartEventAdvancedHandle'
import { ChartEventBaseHandle } from './components/ChartEventBaseHandle'
import { useTargetData } from '../hooks/useTargetData.hook'
2022-10-16 20:46:01 +08:00
2022-10-11 18:31:29 +08:00
const { targetData } = useTargetData()
2022-10-16 20:46:01 +08:00
const showModal = ref(false)
2022-10-11 18:31:29 +08:00
</script>