Skip to content

vue 3.5+ 会报错 TypeError: Cannot read properties of null (reading 'getBoundingClientRect') #518

Open
@sunxi1997

Description

@sunxi1997

image
当 LazyComponent 被卸载后, 内部的回调没有注销, 再次调用时找不到 DOM 元素, 导致程序错误

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