报错内容
页面【pages/checkInDetails/components/drinkPage/index]错误: TypeError: Cannot read property 'call' of undefined at webpack_require (bootstrap:91) at Object.<anonymous> (index.vue:157) at Object._ (index.vue:256) at webpack_require (bootstrap:91) at Module._ (index.vue?4d10:1) at webpack_require (bootstrap:91) at Module._ (index.js:18) at webpack_require (bootstrap:91) at Object.pagesCheckInDetailsComponentsDrinkPageIndexCreateComponent (index.vue?a0e4:2) at webpack_require (bootstrap:91)(env: Windows,mp,1.06.2405020; lib: 3.1.5)
解决方法
1.点击报错文件重新编译 2.可能是缺少图片 手动添加图片
3.左上角“项目”→“重新打开此项目”并编译,或者重启一下开发者工具或电脑尝试下 4.重启hbuilder 5.重新加载依赖
npm install
cnpm install
6.重启电脑
(6条亲测有效)
温馨提示:
下次还可能有同样的问题,最好记得这次的打开步骤。
您好,我是肥晨。 欢迎关注我获取前端学习资源,日常分享技术变革,生存法则;行业内幕,洞察先机。