6***@qq.com
6***@qq.com
  • 发布:2023-05-24 17:35
  • 更新:2024-08-08 23:53
  • 阅读:466

可付费,app运行的时候白屏,报错,解决后可以付费

分类:nvue

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'props' of undefined
at (app-service.js:30099:23)
at webpack_require (app-service.js:80:30)
at (app-service.js:29930:37)
at
webpack_require
(app-service.js:80:30)
at (app-service.js:29909:656)
at webpack_require (app-service.js:80:30)
at (app-service.js:29752:102)
at
webpack_require
(app-service.js:80:30)
at (app-service.js:29469:7)
at webpack_require (app-service.js:80:30)
17:14:02.549 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'props' of undefined
at (pages/diy/index.js.nvue:16783:23)
at
webpack_require
(pages/diy/index.js.nvue:21:30)
at (pages/diy/index.js.nvue:16728:37)
at webpack_require (pages/diy/index.js.nvue:21:30)
at (pages/diy/index.js.nvue:16707:510)
at
webpack_require
(pages/diy/index.js.nvue:21:30)
at (pages/diy/index.js.nvue:16602:100)
at webpack_require (pages/diy/index.js.nvue:21:30)
at (pages/diy/index.js.nvue:16436:17)
at
webpack_require
(pages/diy/index.js.nvue:21:30)
17:14:02.554 [warn]: getApp() failed. Learn more: https://uniapp.dcloud.io/collocation/frame/window?id=getapp.
17:14:02.558 [JS Framework] Failed to execute the callback function:
TypeError: Cannot read property '$vm' of undefined
17:14:02.571 reportJSException >>>> exception function:WEEX_CALL_JAVASCRIPT, exception:JavaScript execute error!Uncaught TypeError: Cannot read property '$vm' of undefined
at eval (<anonymous>:33:11)

2023-05-24 17:35 负责人:无 分享
已邀请:
Diligent_UI

Diligent_UI - 【插件开发】【专治疑难杂症】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=193663(微信搜索飘逸科技UI小程序直接体验)】【骗子请绕道】问题咨询请加QQ群:120594820,代表作灵感实用工具小程序

光一个错误很难排查,提供报错场景,什么项目、引入了什么插件?

  • 6***@qq.com (作者)

    您好,引入的插件都全部删除了,也是不行,实在不知道哪个地方的问题

    2023-05-25 14:00

小黑子爱rap

小黑子爱rap - jack

是不是nvue页面啊, 你查一下页面上的props 是不是写错了,或者template中写了一些方法或者数字,没有在script中定义,这个问题主要就是 我使用了一个变量或者方法,但是没有定义这个

m***@126.com

m***@126.com

data() {
return {
app: null,
}
},
onShow() {
this.app = getApp()
},
根据需要在不同的生命周期里调用getApp(),后续使用this.app

要回复问题请先登录注册