小程序

这种情况的原因是在要跳转到的页面的js文件中未建立Page()方法,如下:

Page({
data: {
logs: []
}
})

把以上信息写在js文件即可。

原文地址:https://www.cnblogs.com/bellagao/p/6290630.html