[6.5.0][道路事件] 代码逻辑优化
This commit is contained in:
@@ -194,6 +194,8 @@ internal object V2NIdentifyDrawer: IEventDismissListener {
|
||||
sb.append("发现前方${distance.toInt()}米${ if (poiType == EventTypeEnumNew.TYPE_SOCKET_ROAD_SHIGONG.poiType) "车道施工" else "车道事故" }@@, 蘑菇时刻为您守护")
|
||||
}
|
||||
}
|
||||
} else {
|
||||
sb.append("发现前方${distance.toInt()}米${ if (poiType == EventTypeEnumNew.TYPE_SOCKET_ROAD_SHIGONG.poiType) "车道施工" else "车道事故" }@@, 蘑菇时刻为您守护")
|
||||
}
|
||||
val ss = sb.toString()
|
||||
val content = ss.substring(0, ss.indexOf("@@"))
|
||||
|
||||
Reference in New Issue
Block a user