|
|
@@ -88,7 +88,7 @@ const { getDetails } = toRefs(useChartLayoutStore())
|
|
|
const { setItem } = useChartLayoutStore()
|
|
|
const chartEditStoreStore = useChartEditStoreStore()
|
|
|
|
|
|
-const { ConstructIcon, FlashIcon, DesktopOutlineIcon } = icon.ionicons5
|
|
|
+const { ConstructIcon, FlashIcon, DesktopOutlineIcon, RocketIcon } = icon.ionicons5
|
|
|
|
|
|
const ContentEdit = loadAsyncComponent(() => import('../ContentEdit/index.vue'))
|
|
|
const CanvasPage = loadAsyncComponent(() =>
|
|
|
@@ -100,6 +100,9 @@ const ChartSetting = loadAsyncComponent(() =>
|
|
|
const ChartData = loadAsyncComponent(() =>
|
|
|
import('./components/ChartData/index.vue')
|
|
|
)
|
|
|
+const ChartEvent = loadAsyncComponent(() =>
|
|
|
+ import('./components/ChartEvent/index.vue')
|
|
|
+)
|
|
|
|
|
|
const collapsed = ref<boolean>(getDetails.value)
|
|
|
|
|
|
@@ -151,7 +154,13 @@ const canvasTabList = [
|
|
|
title: '数据',
|
|
|
icon: FlashIcon,
|
|
|
render: ChartData
|
|
|
- }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'ChartEvent',
|
|
|
+ title: '事件',
|
|
|
+ icon: RocketIcon,
|
|
|
+ render: ChartEvent
|
|
|
+ },
|
|
|
]
|
|
|
</script>
|
|
|
|