feat: 新增基础树图

This commit is contained in:
奔跑的面条
2022-09-26 21:18:01 +08:00
parent 62aec195ea
commit 0d1abd00a1
10 changed files with 220 additions and 17 deletions
@@ -1,11 +1,9 @@
<template>
<div>
<global-setting :optionData="optionData"></global-setting>
</div>
<global-setting :optionData="optionData"></global-setting>
</template>
<script setup lang="ts">
import { PropType, computed } from 'vue'
import { PropType, computed } from 'vue'
import { GlobalSetting } from '@/components/Pages/ChartItemSetting'
import { option } from './config'
import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
@@ -13,12 +11,11 @@ import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
const props = defineProps({
optionData: {
type: Object as PropType<typeof option & GlobalThemeJsonType>,
required: true
required: true
}
})
const heatMapConfig = computed<typeof option>(() => {
return props.optionData
})
</script>