WxNotificationCenter icon indicating copy to clipboard operation
WxNotificationCenter copied to clipboard

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

Open ruoxiaodian opened this issue 6 years ago • 0 comments

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

ruoxiaodian avatar Sep 19 '19 03:09 ruoxiaodian