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

关于表格table的nzData问题 #3151

Closed
lixiangyue opened this issue Mar 25, 2019 · 2 comments
Closed

关于表格table的nzData问题 #3151

lixiangyue opened this issue Mar 25, 2019 · 2 comments

Comments

@lixiangyue
Copy link

Reproduction link

https://ng-zorro-antd-start.stackblitz.io

Steps to reproduce

如果nzData绑定的变量是一个对象的话,table会直接生成一条数据

What is expected?

不会自动生成一条数据

What is actually happening?

自动生成了一条数据

Environment Info
ng-zorro-antd 7.1.0
Browser 所有
@ng-zorro-bot
Copy link
Collaborator

Translation of this issue:


About the nzData problem of the table table

Reproduction link

https://ng-zorro-antd-start.stackblitz.io

Steps to reproduce

If the variable bound to nzData is an object, the table will directly generate a piece of data.

What is expected?

Does not automatically generate a piece of data

What is actually happening?

Automatically generated a piece of data

Environment Info
ng-zorro-antd 7.1.0
Browser All

@vthinkxie
Copy link
Member

nzData 只支持绑定数组,传入非法数据不会正确渲染

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