提交 28fddd3c authored 作者: Your Name's avatar Your Name

fix(数据中心): CSS优化

上级 bc6a230d
......@@ -4,7 +4,9 @@
<script lang="ts">
import { defineComponent } from "vue";
import * as echarts from "echarts";
import { getMapGeoData, getMapPointList } from "../service";
// import { getMapGeoData, getMapPointList } from "../service";
import getMapGeoData from "./mapGeoData.js";
import mapPointList from "./mapPointList";
export default defineComponent({
setup() {},
......@@ -87,8 +89,10 @@ export default defineComponent({
},
methods: {
async initEcharts() {
const { data: getMapData } = await getMapGeoData();
const { data: pointList } = await getMapPointList();
// const { data: getMapData } = await getMapGeoData();
// const { data: pointList } = await getMapPointList();
const { data: getMapData } = getMapGeoData;
const { data: pointList } = mapPointList;
echarts.registerMap("ZJ", getMapData);
const mapEcharts = echarts.init(document.getElementById("map"));
......
......@@ -13,7 +13,7 @@ import { defineComponent } from "vue";
import MapTitle from "@/components/mapTitle/index.vue";
import * as echarts from "echarts";
enum Bar_Enum {
level_1 = "#4f2d11",
level_1 = "#4f5d81",
level_2 = "#429a9d",
level_3 = "#007fb2",
level_4 = "#eca933",
......@@ -46,7 +46,7 @@ const seriesData = [
},
{
name: "五大体系建设",
type: "level_2",
type: "level_5",
value: [22, 12, 21, 12, 12, 12, 12, 22, 21, 19, 20],
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论