mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 16:22:57 +08:00
feat: 打包报错
This commit is contained in:
parent
ac8d77a53f
commit
76112345f2
@ -19,7 +19,7 @@ import { CanvasRenderer } from "echarts/renderers";
|
|||||||
import { useChartDataFetch } from "@/hooks";
|
import { useChartDataFetch } from "@/hooks";
|
||||||
import { mergeTheme } from "@/packages/public/chart";
|
import { mergeTheme } from "@/packages/public/chart";
|
||||||
import { useChartEditStore } from "@/store/modules/chartEditStore/chartEditStore";
|
import { useChartEditStore } from "@/store/modules/chartEditStore/chartEditStore";
|
||||||
import dataJson from "./data";
|
import dataJson from "./data.json";
|
||||||
import {
|
import {
|
||||||
DatasetComponent,
|
DatasetComponent,
|
||||||
GridComponent,
|
GridComponent,
|
||||||
@ -52,7 +52,7 @@ use([
|
|||||||
EffectScatterChart,
|
EffectScatterChart,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
registerMap("china", { geoJSON: dataJson });
|
registerMap("china", { geoJSON: (dataJson as unknown) as any, specialAreas: {} });
|
||||||
|
|
||||||
const option = reactive({
|
const option = reactive({
|
||||||
value: mergeTheme(props.chartConfig.option, props.themeSetting, includes),
|
value: mergeTheme(props.chartConfig.option, props.themeSetting, includes),
|
||||||
|
Loading…
Reference in New Issue
Block a user