feat: 预览采用pinia驱动

This commit is contained in:
Min
2023-03-08 15:06:45 +08:00
committed by 奔跑的面条
parent 316bca8032
commit 5dacdfdf44
4 changed files with 39 additions and 28 deletions
@@ -5,6 +5,7 @@
组件 id
<n-text>{{ targetData.id }}</n-text>
</n-text>
<ChartEvebtInteraction></ChartEvebtInteraction>
<chart-event-base-handle></chart-event-base-handle>
<chart-event-advanced-handle></chart-event-advanced-handle>
</n-collapse>
@@ -12,6 +13,7 @@
<script setup lang="ts">
import { ref } from 'vue'
import { ChartEvebtInteraction } from './components/ChartEvebtInteraction'
import { ChartEventAdvancedHandle } from './components/ChartEventAdvancedHandle'
import { ChartEventBaseHandle } from './components/ChartEventBaseHandle'
import { useTargetData } from '../hooks/useTargetData.hook'