Skip to content

小程序页面中this值变化造成通知bug #8

@ruoxiaodian

Description

@ruoxiaodian

A-B-C三个页面(navigateTo)方式跳转; 在B页面增加(每次add之前清除上一次添加的监听事件)addOnce事件监听 到C页面没有执行postNotice就依次返回A;再次从A-B,这个时候会发现this值变了!所以没法删除上一次添加的事件监听;造成在C页面中postNotice不能正在B页面中被正确执行;

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