编译小程序以后出现的 onload函数不能正常执行
2***@qq.com
- 发布:2019-10-29 11:43
- 更新:2019-10-29 15:02
- 阅读:2542
编译小程序以后出现的 onload函数不能正常执行
分类:uni-app
3 个回复
陈晨1
哪端?
2***@qq.com (作者) - 技术男
小程序端 uniapp
2***@qq.com (作者) - 技术男
[publib]:1 thirdScriptError
Cannot set property 'query' of undefined;at "pages/home/home" page lifeCycleMethod onLoad function
TypeError: Cannot set property 'query' of undefined
at ge.n.methods.onLoad (weapp:///common/vendor.js:115:18533)
at ge.eval (debug:///[publib]:1:1405595)
at ge.p.callPageLifeTime (debug:///[publib]:1:1405340)
at kt (debug:///[publib]:1:1420730)
at eval (debug:///[publib]:1:1423744)
at At (debug:///[publib]:1:1423811)
at Function.eval (debug:///[publib]:1:1427951)
at i.eval (debug:///[publib]:1:1396859)
at i.emit (debug:///[publib]:1:463662)
at Object.emit (debug:///[publib]:1:571160)