2022-09-26 21:18:01 +08:00

22 lines
552 B
Vue

<template>
<global-setting :optionData="optionData"></global-setting>
</template>
<script setup lang="ts">
import { PropType, computed } from 'vue'
import { GlobalSetting } from '@/components/Pages/ChartItemSetting'
import { option } from './config'
import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
const props = defineProps({
optionData: {
type: Object as PropType<typeof option & GlobalThemeJsonType>,
required: true
}
})
const heatMapConfig = computed<typeof option>(() => {
return props.optionData
})
</script>