小程序和h5 没有问题,运行到app 编译不过。
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Exception: ReferenceError: Can't find variable: document
11:53:35.665 addStyle
11:53:35.696 addStylesToDom
11:53:35.728 addStylesClient
11:53:35.759 eval code
11:53:35.790 eval@[native code]
11:53:35.821 weex createInstanceContext:710:5
11:53:35.853 webpack_require@weex createInstanceContext:79:34
11:53:35.884 eval code
11:53:35.915 eval@[native code]
11:53:35.946 weex createInstanceContext:163:5
11:53:35.977 webpack_require@weex createInstanceContext:79:34
11:53:36.009 checkDeferredModules@weex createInstanceContext:46:42
11:53:36.040 webpackJsonpCallback@weex createInstanceContext:33:39
11:53:36.071 global code@weex createInstanceContext:154:57
11:53:36.134 getTemplateInfo== template md5 dd4fdb20f1dd5b2ee1210ba928ef831f length 495374 base64 md5 3U/bIPHdWy7hIQupKO+DHw== response header {"templateSourceBase64MD5":["3U/bIPHdWy7hIQupKO+DHw=="],"templateSourceMD5":["dd4fdb20f1dd5b2ee1210ba928ef831f"]}
3***@qq.com
- 发布:2020-01-13 12:00
- 更新:2020-01-13 14:42
- 阅读:1513
main.js 里面导入 css和scss 文件报错,不知道哪些错了
分类:uni-app