l***@163.com
l***@163.com
  • 发布:2021-03-31 16:00
  • 更新:2021-03-31 16:00
  • 阅读:659

HB x3.1.2 用编译成h5显示空白,模拟器显示正常

分类:HBuilderX

15:33:38.250 H5版常见问题参考: https://ask.dcloud.net.cn/article/35232
15:42:37.682 [HMR] Waiting for update signal from WDS...
15:42:37.683 [system] API onNativeEventReceive is not yet implemented
15:42:37.693 install finished
15:42:37.701 App Launch
15:42:37.702 [Vue warn]: Error in onLaunch hook: "ReferenceError: plus is not defined"

(found in at App.vue)
15:42:37.709 [system]ReferenceError: plus is not defined
at Vue.onLaunch (webpack-internal:///./node_modules/babel-loader/lib/index.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js?!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js?!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js?!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-scoped-loader/index.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/wrap-loader/index.js?!../../../../../../Users/ibrotherliyanbing/Desktop/PPPL/assessment-supervision-uni/App.vue?vue&type=script&lang=js&:18:5)
at invokeWithErrorHandling (http://localhost:8080/static/js/chunk-vendors.js:5874:26)
at Vue.push../node_modules/@dcloudio/vue-cli-plugin-uni/packages/h5-vue/dist/vue.runtime.esm.js.Vue.__call_hook (http://localhost:8080/static/js/chunk-vendors.js:12616:17)
at o (http://localhost:8080/static/js/chunk-vendors.js:855:406961)
at Vue.mounted (http://localhost:8080/static/js/chunk-vendors.js:855:414628)
at invokeWithErrorHandling (http://localhost:8080/static/js/chunk-vendors.js:5874:57)
at callHook (http://localhost:8080/static/js/chunk-vendors.js:8280:7)
at mountComponent (http://localhost:8080/static/js/chunk-vendors.js:8144:5)
at Vue.push../node_modules/@dcloudio/vue-cli-plugin-uni/packages/h5-vue/dist/vue.runtime.esm.js.Vue.$mount (http://localhost:8080/static/js/chunk-vendors.js:12632:10)
at eval (webpack-internal:///../../../../../../Users/ibrotherliyanbing/Desktop/PPPL/assessment-supervision-uni/main.js:46:44)
15:42:37.712 App Show
15:42:37.734 onLoad
15:42:37.735 created
15:42:37.954 App Hide
15:42:37.989 [HMR] Waiting for update signal from WDS...
15:42:38.269 [system] API onNativeEventReceive is not yet implemented
15:42:38.269 install finished
15:42:38.274 App Launch
15:42:38.281 [Vue warn]: Error in onLaunch hook: "ReferenceError: plus is not defined"

2021-03-31 16:00 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复