1、dom.getComponentRect 使用两次时会引起IOS9.3闪退或者报
2、相关代码
//设置scroller高度
var appHeight=0;
var tabbarHeight=0;
dom.getComponentRect(this.$root.$refs.app,option => {
appHeight =option.size.height;
dom.getComponentRect(this.$root.$refs.tabbar1,aa => {
tabbarHeight =aa.size.height;
this.scrollHeight=appHeight-tabbarHeight;
});
});
3、报错截图
我也遇到了这个问题,请问解决了吗