diff --git a/GaiaXAndroid/src/main/kotlin/com/alibaba/gaiax/template/GXDataBinding.kt b/GaiaXAndroid/src/main/kotlin/com/alibaba/gaiax/template/GXDataBinding.kt index 79869045d..c2816c8ea 100644 --- a/GaiaXAndroid/src/main/kotlin/com/alibaba/gaiax/template/GXDataBinding.kt +++ b/GaiaXAndroid/src/main/kotlin/com/alibaba/gaiax/template/GXDataBinding.kt @@ -71,7 +71,7 @@ open class GXDataBinding( } // View的无障碍朗读逻辑 - accessibilityEnable?.value(templateData)?.let { + accessibilityTraits?.value(templateData)?.let { result = result ?: JSONObject() result?.put(GXTemplateKey.GAIAX_ACCESSIBILITY_TRAITS, it) }