25 lines
797 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>
2022-10-16 20:46:01 +08:00
<n-collapse-item title="基础事件配置" name="1">
<div class="go-event">
<n-text depth="3"> 单击双击移入移出尽情期待 </n-text>
</div>
2022-10-11 18:31:29 +08:00
</n-collapse-item>
2022-10-16 20:46:01 +08:00
<chart-event-monaco-editor></chart-event-monaco-editor>
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'
import { ChartEventMonacoEditor } from './components/ChartEventMonacoEditor'
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>