uni-app学习遇到的问题

  1. 提示 Cannot use v-for on stateful component root element because it renders multiple elements.
    解决方法:不要在根节点上使用v-for循环

  2. 提示 Do not use built-in or reserved HTML elements as component id: nav
    解决方法:不要使用内置或保留的HTML元素作为组件id:nav

  3. 使用props进行父组件给子组件传递值的时候控制台报警告:[Vue warn]: Missing required prop: "type" from chunk-vendors.js:3763
    解决方法: 还未解决,好像没有影响传值。

待继续整理...

posted @ 2020-07-23 11:01  清梦徐徐丶莫  阅读(590)  评论(1编辑  收藏  举报