-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
Description
if i use a Array as a prop of custom component,
the template element with v-for directive just render undefined
<component :list="list"></component>
<template v-for="item of list">{{item.name}}</template> <!-- output undefined -->
it's strange.
only template element tag has this problem.
Vue.js version
2.1.7
Reproduction Link
simple demo here
https://github.com/shjyh/vue_error_demo/tree/master/2016-12-26