参考网址
/fangkang7/article/details/81943614
我的解决办法
判断 数据为空的情况下为 []如下所示success: function (res) {var contentlist = res.data.school;if (!contentlist) {contentlist = [];}that.setData({contentlist: contentlist // 页面分配数据});
时间:2018-08-06 14:04:19
参考网址
/fangkang7/article/details/81943614
我的解决办法
判断 数据为空的情况下为 []如下所示success: function (res) {var contentlist = res.data.school;if (!contentlist) {contentlist = [];}that.setData({contentlist: contentlist // 页面分配数据});
小程序反编译 代码报错_typeof3 is not a function
2024-07-23
微信小程序中this.setData is not a function报错问题
2022-04-30
【Antd】rawData.some is not a function 报错解决方法
2024-03-01