Skip to content

iOS高性能模式下尝试给canvas赋值导致的错误 #4

@PengQiong

Description

@PengQiong

开启useNoFontCanvasKit = true;
canvaskit.js中代码报错TypeError: Attempted to assign to readonly property.
具体代码
Object.assign(w, ta);

原因是高性能模式下的webkit canvas是readonly属性

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions