hujiulong / vue-3d-model

📷 vue.js 3D model viewer component
https://vue-3d-model.netlify.app
MIT License
2.48k stars 472 forks source link

各位早上好。我在浏览器上运行一切正常,但是在安卓模拟器或者真机上运行就会报错。 #224

Open scscyawh opened 4 years ago

scscyawh commented 4 years ago

这里是日志: 09:21:28.707 正在安装手机端HBuilder调试基座... 09:21:33.310 Performing Streamed Install 09:21:33.331 Success 09:21:33.415 正在同步手机端程序文件... 09:21:33.771 同步手机端程序文件完成 09:21:33.875 正在启动HBuilder调试基座... 09:21:36.234 应用【VUE3D】已启动... 09:21:43.771 App Launch at App.vue:4 09:21:43.792 App Show at App.vue:7 09:21:43.813 App Show at App.vue:7 09:21:44.545 [Vue warn]: Property or method "reverseMessage" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties. 09:21:44.587 (found at pages/index/index.vue:1) 09:21:44.607 [Vue warn]: Invalid handler for event "click": got undefined 09:21:44.649 (found at pages/index/index.vue:1) 09:21:45.544 [Vue warn]: Error in mounted hook: "TypeError: Cannot read property 'createElementNS' of undefined" 09:21:45.586 found in 09:21:45.628 ---> 09:21:45.649     at pages/index/index.vue:1 09:21:45.705 TypeError: Cannot read property 'createElementNS' of undefined 09:21:45.705 [Vue warn]: Error in callback for watcher "size": "TypeError: Cannot read property 'setSize' of null" 09:21:45.733 found in 09:21:45.774 ---> 09:21:45.795     at pages/index/index.vue:1 09:21:45.815 TypeError: Cannot read property 'setSize' of null 13:14:03.624 已停止运行...

这里是代码:

谢谢大家

wei-kris commented 3 years ago

真机运行也是启动一个webview么 ?