Skip to content

图形的destroy方法,在setimeout中且计时大于1000时无效 #108

@wxbo22

Description

@wxbo22

function a () {
shapeList.forEach(el => {
if (el && el.destroy) {
el.updateLayer(20)
el.destroy()
}
})
}

setTimeout( () => { a() }, 2000)
这样时无效的,顶多是动画被删除了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions