diff --git a/.env.development b/.env.development index d74f104..0346afc 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ ENV = 'development' # 共享电动车管理系统/开发环境 # VUE_APP_BASE_API = 'https://dche.ccttiot.com/prod-api' -VUE_APP_BASE_API = 'http://localhost:8080' +VUE_APP_BASE_API = 'http://192.168.2.189:8080' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/api/system/area.js b/src/api/system/area.js index fea802b..ed601d8 100644 --- a/src/api/system/area.js +++ b/src/api/system/area.js @@ -54,6 +54,14 @@ export function updateArea(data) { data: data }) } +// 修改导览 +export function putguide(data) { + return request({ + url: '/system/area/guide', + method: 'put', + data: data + }) +} // 修改运营区 export function updateArea2(data) { return request({ diff --git a/src/components/Map/TrajectoryMap.vue b/src/components/Map/TrajectoryMap.vue index fc9dc00..1233e48 100644 --- a/src/components/Map/TrajectoryMap.vue +++ b/src/components/Map/TrajectoryMap.vue @@ -1,5 +1,5 @@ - - +