crm:bugfix FunnelBusiness.vue 导致打包失败的问题

This commit is contained in:
YunaiV 2024-04-24 00:31:44 +08:00
parent 7f3950018e
commit 1d533e49e4

View File

@ -33,8 +33,6 @@
import { CrmStatisticFunnelRespVO, StatisticFunnelApi } from '@/api/crm/statistics/funnel' import { CrmStatisticFunnelRespVO, StatisticFunnelApi } from '@/api/crm/statistics/funnel'
import { EChartsOption } from 'echarts' import { EChartsOption } from 'echarts'
import { DICT_TYPE } from '@/utils/dict' import { DICT_TYPE } from '@/utils/dict'
import echarts from '@/plugins/echarts'
import { FunnelChart } from 'echarts/charts'
defineOptions({ name: 'FunnelBusiness' }) defineOptions({ name: 'FunnelBusiness' })
const props = defineProps<{ queryParams: any }>() // const props = defineProps<{ queryParams: any }>() //
@ -44,7 +42,6 @@ const loading = ref(false) // 加载中
const list = ref<CrmStatisticFunnelRespVO[]>([]) // const list = ref<CrmStatisticFunnelRespVO[]>([]) //
/** 销售漏斗 */ /** 销售漏斗 */
echarts?.use([FunnelChart])
const echartsOption = reactive<EChartsOption>({ const echartsOption = reactive<EChartsOption>({
title: { title: {
text: '销售漏斗' text: '销售漏斗'