Cannot read property 'timeStamp' of null 问题
出错如下图:
现状:
html加上页签<ion-infinite-scroll>(用于加载更多...)刷新页面就出上面的提示,去掉<ion-infinite-scroll>就不出错了。
进展:
无意中发现是:<ion-infinite-scroll> 与 this.content.scrollToBottom() 冲突;
解决方法:
this.content.scrollToBottom(0) 冲突;(重点:加了参数0!,加了参数0!加了参数0!)