小程序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);
}
线上同报错、但是本地未能复现
求问最后怎么解决的呀,我也报了一摸一样的错误,不知道是哪里的问题
建议是给个完整的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),方便大家帮你看问题