diff --git a/driver/js/packages/hippy-vue-next/src/runtime/element/hippy-element.ts b/driver/js/packages/hippy-vue-next/src/runtime/element/hippy-element.ts index 30b422ae305..034cb00a5d5 100644 --- a/driver/js/packages/hippy-vue-next/src/runtime/element/hippy-element.ts +++ b/driver/js/packages/hippy-vue-next/src/runtime/element/hippy-element.ts @@ -878,8 +878,8 @@ export class HippyElement extends HippyNode { let style: NativeNodeProps = this.getNativeStyles(); if (this.parentNode && this.parentNode instanceof HippyElement) { - // 属性继承逻辑实现 - // 只继承 color 和 font属性 + // Implement attribute inheritance logic + // Only inherit color and font properties const parentNodeStyle = this.parentNode.processedStyle; const styleAttributes = ['color', 'fontSize', 'fontWeight', 'fontFamily', 'fontStyle', 'textAlign', 'lineHeight'];