Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用v-for渲染空数组时,出现undefined #6801

Closed
fengxinming opened this issue Oct 13, 2017 · 1 comment
Closed

使用v-for渲染空数组时,出现undefined #6801

fengxinming opened this issue Oct 13, 2017 · 1 comment

Comments

@fengxinming
Copy link

Version

2.5.0

Reproduction link

https://jsfiddle.net/LfndL331/

Steps to reproduce

在li标签里面添加v-for指令,没有渲染li标签
在div标签里面添加v-for指令,则出现undefined

What is expected?

期望循环空数组时,不渲染div

What is actually happening?

但是却渲染了undefined


今天发布的2.5.0版本才会出现该问题

@CyanSalt
Copy link

#6790

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants