手机打开小程序进步去,只有部分手机是这样,报错就是
[Vue warn]: Error in onLoad hook: "TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context."
(found in pages/splash/index.vue)
1.然后转类型
.
let str = decodeURIComponent(uni.getStorageSync('searchkeyword') || [])
this.searchHistoryList = JSON.parse(str)
.
.
失败:decodeURIComponent,JSON.string不起效果
JSON.parse报错
2.log.js引入方式不对
3.放在onshow里面 失败:没效果
4.For循环修改 失败:没效果
5.取消严格模式,没有安装上。找不到那个文件夹