mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-22 21:46:23 +08:00
19 lines
487 B
Vue
19 lines
487 B
Vue
<template>
|
|
<!-- Echarts 全局设置 -->
|
|
<global-setting :optionData="optionData" :in-chart="true"></global-setting>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { PropType } from 'vue'
|
|
import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
|
|
import { GlobalSetting } from '@/components/ChartItemSetting/index'
|
|
|
|
const props = defineProps({
|
|
optionData: {
|
|
type: Object as PropType<GlobalThemeJsonType>,
|
|
required: true
|
|
}
|
|
})
|
|
console.log(props.optionData)
|
|
</script>
|