码到成功
码到成功
  • 发布:2019-06-30 18:17
  • 更新:2019-07-01 09:59
  • 阅读:2438

HbuilderX中真机运行问题

分类:uni-app

学习uni-app制作的时候,一直用chrome调试,之前也有在真机(安卓)上调试。真机调试的时候,用的内网穿透链接的后端。这两天浏览器调试一切正常,真机调试的时候,控制台一直无限刷这个错误


看到_vm.xxx感觉十分高级,搜索也没得到结果,因此来求助了。

17:50:45.117 编译器版本:2.0.1,当前项目编译模式:自定义组件模式。编译模式差异见:https://ask.dcloud.net.cn/article/35843
17:50:59.383 DONE Build complete. Watching for changes...
17:50:59.388 项目 'RP' 编译成功.
17:50:59.666 正在建立手机连接...
17:51:01.287 正在同步手机端程序文件...
17:51:02.086 同步手机端程序文件完成
17:51:02.681 正在启动HBuilder调试基座...
17:51:04.445 应用【Rp】已启动...
17:51:04.834 [Vue warn]: Error in render: "TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)"
17:51:04.875 (found in pages/block/block)
17:51:04.896 TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)
17:51:04.916 [Vue warn]: Error in render: "TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)"
17:51:04.958 (found in pages/block/block)
17:51:04.978 TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)
17:51:04.999 [Vue warn]: Error in render: "TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)"
17:51:05.040 (found in pages/block/block)
17:51:05.060 TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)
17:51:05.082 [Vue warn]: Error in render: "TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)"
17:51:05.122 (found in pages/block/block)
17:51:05.142 TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)
17:51:05.163 [Vue warn]: Error in render: "TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)"
17:51:05.204 (found in pages/block/block)
17:51:05.224 TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)
17:51:05.245 [Vue warn]: Error in render: "TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)"
17:51:05.286 (found in pages/block/block)
17:51:05.306 TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)
17:51:05.327 [Vue warn]: Error in render: "TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)"
17:51:05.368 (found in pages/block/block)
17:51:05.388 TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)
17:51:05.409 [Vue warn]: Error in render: "TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)"
17:51:05.450 (found in pages/block/block)
17:51:05.470 TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)
17:51:05.491 [Vue warn]: Error in render: "TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)"
17:51:05.532 (found in pages/block/block)
17:51:05.553 TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)
17:51:05.573 [Vue warn]: Error in render: "TypeError: _vm.goodsList.map is not a function. (In '_vm.goodsList.map', '_vm.goodsList.map' is undefined)"
17:51:05.614 (found in pages/block/block)

2019-06-30 18:17 负责人:无 分享
已邀请:
码到成功

码到成功 (作者)

今天用非自定义组件模式运行,正常了。可能跟编译模式有关系。现在正看社区里关于新旧编译模式注意的问题,看看能不能找到答案。

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