diff --git a/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt b/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt index dc33f907a4..59a6c63d62 100644 --- a/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt +++ b/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt @@ -512,7 +512,7 @@ class MogoPrivateObuManager private constructor() { var ttsContent = "" var alertContent = "" //这里需要根据真实数据确定 indicator 取值方式 - if (lights.size >= indicator && indicator != -1) { + if (indicator != -1 && lights.size >= indicator) { val currentLight = lights[indicator] LogUtils.dTag( MogoObuConst.TAG_MOGO_OBU,