700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > 小程序 报错之 thirdScriptError ..... is not a function 的解决方法

小程序 报错之 thirdScriptError ..... is not a function 的解决方法

时间:2018-08-06 14:04:19

相关推荐

小程序 报错之  thirdScriptError ..... is not a function 的解决方法

参考网址

/fangkang7/article/details/81943614

我的解决办法

判断 数据为空的情况下为 []如下所示success: function (res) {var contentlist = res.data.school;if (!contentlist) {contentlist = [];}that.setData({contentlist: contentlist // 页面分配数据});

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。