Skip to content

Commit

Permalink
feat(vue-next): modify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zealotchen0 committed May 21, 2024
1 parent 413e401 commit a413feb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'];

Expand Down

0 comments on commit a413feb

Please sign in to comment.