检测点
This commit is contained in:
parent
945708ccc9
commit
3bd79f560b
@ -2217,7 +2217,7 @@ const generateDetectionPoint = async () => {
|
|||||||
|
|
||||||
//生成监测点和库位之间的路线 这里把监测点当开始点 库位当结束点
|
//生成监测点和库位之间的路线 这里把监测点当开始点 库位当结束点
|
||||||
let newRoute = {
|
let newRoute = {
|
||||||
isSelected: false,
|
isSelected: true,
|
||||||
startingPointId: newId,
|
startingPointId: newId,
|
||||||
endPointId: id,
|
endPointId: id,
|
||||||
startPointX: newX,
|
startPointX: newX,
|
||||||
@ -2256,6 +2256,7 @@ const generateDetectionPoint = async () => {
|
|||||||
//将路线加入到路线列表中
|
//将路线加入到路线列表中
|
||||||
state.mapRouteList.push(newRoute)
|
state.mapRouteList.push(newRoute)
|
||||||
|
|
||||||
|
state.currentItemIndex = state.allMapPointInfo.length - 1
|
||||||
addEditHistory()
|
addEditHistory()
|
||||||
// 隐藏右击菜单
|
// 隐藏右击菜单
|
||||||
hideContextMenu()
|
hideContextMenu()
|
||||||
|
Loading…
Reference in New Issue
Block a user