@ued_fpi/data-visual 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -141,7 +141,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
141
141
  emits("factorChange", item.code);
142
142
  keyPollutionData();
143
143
  };
144
- const option = ref([]);
144
+ const option = ref();
145
145
  onMounted(() => {
146
146
  if (props.isLazy)
147
147
  return;
@@ -1,3 +1,4 @@
1
+ import 'echarts-gl';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
3
  params: {
3
4
  regionCode: string;
@@ -2,6 +2,7 @@ import { defineComponent, reactive, ref, onMounted, watch, nextTick, toRefs, ope
2
2
  import echarts from '../../utils/echarts/index.mjs';
3
3
  import { getPie3D } from '../../utils/echarts/3dChartOptions.mjs';
4
4
  import { getOutletsOnlineData } from './api/index.mjs';
5
+ import 'echarts-gl';
5
6
 
6
7
  const _hoisted_1 = { class: "dv-wgms-outlet-online" };
7
8
  const _hoisted_2 = { class: "toggle-list dv-wgms-flex-between-center" };
@@ -42,7 +43,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
43
  });
43
44
  const pieChart = ref();
44
45
  onMounted(async () => {
45
- await import('echarts-gl');
46
46
  getResData();
47
47
  });
48
48
  watch(() => props.params, () => {
@@ -45,7 +45,6 @@ export declare const pollutionSourcePieOptions: (pieData: Record<string, any>[])
45
45
  right: number;
46
46
  bottom: number;
47
47
  };
48
- color: string[];
49
48
  series: {
50
49
  name: string;
51
50
  type: string;
@@ -61,7 +61,6 @@ const pollutionSourcePieOptions = (pieData) => {
61
61
  right: 0,
62
62
  bottom: 0
63
63
  },
64
- color: ["#F84439", "#0062FF", "#2AC94F"],
65
64
  series: [
66
65
  {
67
66
  name: "企业档案",