forked from lucas/go-view-fetch
wer
This commit is contained in:
parent
5320485779
commit
783f908276
@ -32,7 +32,8 @@ import { CanvasRenderer } from 'echarts/renderers'
|
||||
import { LineChart } from 'echarts/charts'
|
||||
import { GridComponent, TooltipComponent } from 'echarts/components'
|
||||
import { CreateComponentType } from '@/packages/index.d'
|
||||
import { useChartEdit } from '@/hooks/useChartEdit.hook'
|
||||
import { useChartDataFetch } from '@/hooks/useChartDataFetch.hook'
|
||||
import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'
|
||||
|
||||
use([
|
||||
CanvasRenderer,
|
||||
@ -48,7 +49,7 @@ const props = defineProps({
|
||||
}
|
||||
})
|
||||
|
||||
const { option } = useChartEdit(props)
|
||||
const { option } = useChartDataFetch(props.chartConfig, useChartEditStore)
|
||||
|
||||
const selectedOption = ref(props.chartConfig.option.dropdownDefault)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user