[M2] 处理轮询问题
This commit is contained in:
@@ -290,11 +290,10 @@ class PM2DrivingModel private constructor() {
|
||||
PM2ServiceManager.queryDriverSiteByCoordinate(it,
|
||||
object : OchCommonServiceCallback<PM2RoutesResponse>{
|
||||
override fun onSuccess(data: PM2RoutesResponse?) {
|
||||
if (data?.result === routesResult) {
|
||||
return
|
||||
}
|
||||
if (data == null || data.result == null
|
||||
||data.result.equals(routesResult)) return
|
||||
|
||||
if (data?.result?.sites === null) {
|
||||
if (data.result.sites == null) {
|
||||
d(SceneConstant.M_BUS_P+TAG, "queryDriverSiteByCoordinate ===== 没有路线")
|
||||
routesResult = null
|
||||
mNextStationIndex = 0
|
||||
|
||||
Reference in New Issue
Block a user