收藏
回答

我跟着一个视频教程来的,返复看了一模一样,自定义组件报错?

MiniProgramError
Cannot read property 'name' of undefined
TypeError: Cannot read property 'name' of undefined
    at Pe (http://127.0.0.1:23846/appservice/__dev__/WAService.js:2:1870610)
    at ze (http://127.0.0.1:23846/appservice/__dev__/WAService.js:2:1873778)
    at Module.t (http://127.0.0.1:23846/appservice/__dev__/WAService.js:2:1883433)
    at yt (http://127.0.0.1:23846/appservice/__dev__/WAService.js:2:2002231)
    at Kt (http://127.0.0.1:23846/appservice/__dev__/WAService.js:2:2024189)
    at http://127.0.0.1:23846/appservice/commponents/myheader/myheader.js:5:1
    at require (http://127.0.0.1:23846/appservice/__dev__/WAService.js:2:2033046)
    at <anonymous>:50:7
    at doWhenAllScriptLoaded (http://127.0.0.1:23846/appservice/appservice?t=1592751112977:1461:21)
    at HTMLScriptElement.scriptLoaded (http://127.0.0.1:23846/appservice/appservice?t=1592751112977:1477:5)
console.error @ VM583:1
errorReport @ VM590 WAService.js:2
thirdErrorReport @ VM590 WAService.js:2
(anonymous) @ VM590 WAService.js:2
f @ VM590 WAService.js:2
o @ VM590 WAService.js:2
(anonymous) @ VM590 WAService.js:2
value @ VM590 WAService.js:2
(anonymous) @ VM590 WAService.js:2
doWhenAllScriptLoaded @ appservice?t=1592751112977:1461
scriptLoaded @ appservice?t=1592751112977:1477
script.onload @ appservice?t=1592751112977:1485
error (async)
(anonymous) @ VM590 WAService.js:2
(anonymous) @ VM590 WAService.js:2
(anonymous) @ VM590 WAService.js:2
VM616:4 Sun Jun 21 2020 22:51:54 GMT+0800 (中国标准时间) sitemap 索引情况提示
回答关注问题邀请回答
收藏
登录 后发表内容
问题标签