Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

组件截图需要设置背景色 #3

@425765923

Description

@425765923

通过componentSnapshot进行截图,如果组件没有设置背景色对HarmonyOS来说则是默认透明,截图效果为黑色。所以为了正常,被截图的容器组件需要设置背景色

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions