diff --git a/.env.local b/.env.local index 8eb2bb63..2d26cfc9 100644 --- a/.env.local +++ b/.env.local @@ -4,9 +4,9 @@ NODE_ENV=development VITE_DEV=true # 请求路径 -VITE_BASE_URL='http://192.168.0.74:48080' +# VITE_BASE_URL='http://192.168.0.74:48080' # VITE_BASE_URL='http://192.168.0.153:48080' -# VITE_BASE_URL='http://192.168.0.45:48080' +VITE_BASE_URL='http://192.168.0.45:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务 VITE_UPLOAD_TYPE=server diff --git a/src/views/mapPage/realTimeMap/components-tool/editMapRouteDialog.vue b/src/views/mapPage/realTimeMap/components-tool/editMapRouteDialog.vue index ed8f418a..9ef9ca16 100644 --- a/src/views/mapPage/realTimeMap/components-tool/editMapRouteDialog.vue +++ b/src/views/mapPage/realTimeMap/components-tool/editMapRouteDialog.vue @@ -10,7 +10,7 @@ - + - + { //显示出可走路线 state.isCanTakeRoutes = state.mapRouteList.forEach((route) => { - if (route.startingPointId === item.id) { + if ( + route.startingPointId === item.id || + (route.direction === 2 && route.endPointId === item.id) + ) { route.isSelected = true } else { route.isSelected = false