调试微信小程序前台出错,无法加载后台资源(后台正常启动)

来源:5-4 搭建Litemall【玩赚商城业务+技术】

petranko

2020-03-25

后台是正常启动无误的,确认端口对应无误,开发者程序中报了6个错:

VM68:5348 Uncaught TypeError: document.getElementById is not a function
    at VM68:5348
(anonymous) @ VM68:5348
VM62:1588 Uncaught TypeError: document.querySelector is not a function
    at onResize (VM62:1588)
    at HTMLDocument.setupMobileNav (VM62:1622)
onResize @ VM62:1588
setupMobileNav @ VM62:1622
VM63:1931 Uncaught TypeError: document.getElementById is not a function
    at onDocumentLoadOrUpdate (VM63:1931)
    at HTMLDocument.onDocumentLoad (VM63:1987)
onDocumentLoadOrUpdate @ VM63:1931
onDocumentLoad @ VM63:1987
VM78:5348 Uncaught TypeError: document.getElementById is not a function
    at VM78:5348
(anonymous) @ VM78:5348
VM72:1588 Uncaught TypeError: document.querySelector is not a function
    at onResize (VM72:1588)
    at HTMLDocument.setupMobileNav (VM72:1622)
onResize @ VM72:1588
setupMobileNav @ VM72:1622
VM73:1931 Uncaught TypeError: document.getElementById is not a function
    at onDocumentLoadOrUpdate (VM73:1931)
    at HTMLDocument.onDocumentLoad (VM73:1987)
onDocumentLoadOrUpdate @ VM73:1931
onDocumentLoad @ VM73:1987

写回答

1回答

神思者

2020-03-25

截个图我看一下

0
2
神思者
回复
petranko
还有这种灵异事件,呵呵。没关系,有其他问题再接着提问
2020-03-25
共2条回复

Java工程师岗 应届毕业生春招和秋招项目面试课

如何在项目面试中让面试官“眼前一亮”,“面试真经”双手奉上!

719 学习 · 222 问题

查看课程