sort方法在体验版是运行正常,在正式版上提示错误?

发布于 8 年前作者 weiguiying591 次浏览最后编辑 8 年前来自 issues

cannot read property ‘sort’ of undefined

对数组对象排序时,发生的错误

1 回复
taoqiao
taoqiao1 楼6 年前

这个报错的意思是 arr.sort  arr是个undefined。。也就是你没拿到数组的数据。。是不是没加白名单,打开调试试试呢