config.vue 500 B

123456789101112131415161718
  1. <template>
  2. <!-- Echarts 全局设置 -->
  3. <global-setting :optionData="optionData" :in-chart="true"></global-setting>
  4. </template>
  5. <script setup lang="ts">
  6. import { PropType } from 'vue'
  7. import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
  8. import { GlobalSetting } from '@/components/Pages/ChartItemSetting'
  9. // eslint-disable-next-line no-unused-vars
  10. const props = defineProps({
  11. optionData: {
  12. type: Object as PropType<GlobalThemeJsonType>,
  13. required: true
  14. }
  15. })
  16. </script>