小程序Error: [u'thirdScriptError', u"null is not an object (evaluating 't[0].height');at pages/index/index showpubbox function;at SelectorQuery callback function"],
最近频繁报以上错误,我看了下相应函数里也没有用到“t[0].height”,看了一下函数,也没发现什么问题,求助,以下是相应函数代码:
showpubbox:function(e){
var that=this;
if(app.globalData.loginStatus == ‘noUser’){
wx.navigateTo({ url: ‘/pages/followus/followus?refresh=false’ });
return false;
}
let id=e.currentTarget.dataset.id;
let pageindex=e.currentTarget.dataset.pageindex;
let itemindex=e.currentTarget.dataset.itemindex;
that.setData({
showpublish:true,
placeholder:‘对小伙伴说点什么吧…’,
messageval:’’,
group_dynamic_id:id,
pageindex:pageindex,
itemindex:itemindex,
focus:true,
describeMsg:’’
});
setTimeout(function(){
that.setData({
showtextarea:true
});
},300);
}