feat: add echarts

This commit is contained in:
xiaoxian521
2021-04-07 17:18:41 +08:00
parent dae90a0c21
commit 651ac333ee
7 changed files with 203 additions and 11 deletions

12
src/api/mock.ts Normal file
View File

@@ -0,0 +1,12 @@
import { http } from "../utils/http"
// 地图数据
export const mapJson = (data?: object): any => {
return http.request("get", "/getMapInfo", data)
}
// echarts数据
export const echartsJson = (data?: object): any => {
return http.request("get", "/getEchartsInfo", data)
}