修改渲染策略

This commit is contained in:
qiji4215
2023-07-24 14:28:49 +08:00
parent 7df7cf1345
commit b92110c785
6 changed files with 59 additions and 42 deletions

View File

@@ -262,7 +262,9 @@ class MainViewModel @Inject constructor(
viewModelScope.launch(Dispatchers.IO) {
getTaskBean()
//初始化选中的任务高亮高亮
mapController.lineHandler.showTaskLines(currentTaskBean?.hadLinkDvoList!!)
if(currentTaskBean!=null){
mapController.lineHandler.showTaskLines(currentTaskBean?.hadLinkDvoList!!)
}
initQsRecordData()
initNoteData()
initNILocationData()