Skip to content

在 body 之前引用 cube 报错 #89

@RogerKang

Description

@RogerKang

生成清除 cache 的链接处引用了 document.body

document.body.appendChild(a);

  document.body.appendChild(a);

如果 cube 在 body 之前引用会报错:

TypeError: Cannot read property 'appendChild' of undefined

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