[bugfix]
[有新的轨迹时删除站点的临时数据、防止轨迹错误导致的问题]
This commit is contained in:
yangyakun
2023-10-10 20:33:13 +08:00
parent 755f4d49ef
commit 977774c1b5

View File

@@ -134,7 +134,12 @@ object TrajectoryAndDistanceManager : IMoGoPlanningRottingListener {
startCalculateDistanceLoop()
return
}else{
resetStation()
this.endStationInfo.index = null
this.endStationInfo.distance = null
this.endStationInfo.isNext = null
this.startStationInfo.index = null
this.startStationInfo.distance = null
this.startStationInfo.isNext = null
}
this.lineId = globalPathResp.lineId
}