报错:You may have an infinite update loop in a component render function.

uniapp微信小程序项目报错You may have an infinite update loop in a component render function.

原因:{ {list.reverse()}},数组反转这样的方法不能直接写在{ {}}里