mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
feat: add echarts
This commit is contained in:
12
src/api/mock.ts
Normal file
12
src/api/mock.ts
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user