cgq001 / dingdong Goto Github PK
View Code? Open in Web Editor NEW仿买菜前端
仿买菜前端
3 如手机上HBuilder调试基座未启动,请手动启动...
21:54:10.714 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Exception: TypeError: undefined is not an object (evaluating 'navigator.userAgent')
19:35:23.751 [错误] ERR: ./pages/details/details.vue(99:51): error at token {
19:35:23.755 ./pages/shoplist/shoplist.wxss(34:67): error at token {
19:35:23.762 error file count: 0
19:35:25.897 DONE Build complete. Watching for changes...
19:35:25.904 项目 'dingdong' 编译成功.
19:35:25.905 WARNING:
19:35:26.133 正在建立手机连接...
19:35:27.182 正在同步手机端程序文件...
19:35:28.743 同步手机端程序文件完成
19:35:29.154 正在启动HBuilder调试基座...
19:35:30.714 应用【叮当买菜】已启动...
19:35:32.887 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Exception: TypeError: undefined is not an object (evaluating 'navigator.userAgent')
19:35:32.908 isIOS
19:35:32.928 eval code
19:35:32.949 eval@[native code]
19:35:32.969 weex createInstanceContext:2288:5
19:35:32.989 webpack_require@weex createInstanceContext:1560:35
19:35:33.010 eval code
19:35:33.030 eval@[native code]
19:35:33.051 weex createInstanceContext:2255:5
19:35:33.071 webpack_require@weex createInstanceContext:1560:35
19:35:33.092 eval code
19:35:33.112 eval@[native code]
19:35:33.133 weex createInstanceContext:2167:5
19:35:33.153 webpack_require@weex createInstanceContext:1560:35
19:35:33.174 eval code
19:35:33.194 eval@[native code]
19:35:33.215 weex createInstanceContext:1804:5
19:35:33.235 webpack_require@weex createInstanceContext:1560:35
19:35:33.276 eval code
19:35:33.297 eval@[native code]
19:35:33.317 weex createInstanceContext:1413:5
19:35:33.338 webpack_require@weex createInstanceContext:1560:35
19:35:33.358 checkDeferredModules@weex createInstanceContext:1527:45
19:35:33.379 weex createInstanceContext:1404:61
19:35:33.399 require@weex createInstanceContext:4:665986
19:35:33.420 weex createInstanceContext:4:665601
19:35:33.440 weex createInstanceContext:5138:8
19:35:33.461 require@weex createInstanceContext:4:665986
19:35:33.481 global code@weex createInstanceContext:5140:8
19:35:33.522 getTemplateInfo== template md5 47c108dbc6b980b201981b5b4eff0740 length 7065354 base64 md5 R8EI28a5gLIBmBtbTv8HQA== response header {"templateSourceBase64MD5":["R8EI28a5gLIBmBtbTv8HQA=="],"templateSourceMD5":["47c108dbc6b980b201981b5b4eff0740"]}
本地启动了接口项目,请问前端如何使用本地的接口数据?
我看到你用的是UNI-APP开发的,但是微信开发工具打开会报错
提示 Cannot read property 'userAgent' of undefined
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.