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

BasicTable在空数组绑定的情况下,新增后界面不刷新,强制也没用,而实际数据是在内存中的。 #752

Closed
lolysc opened this issue Jun 11, 2021 · 1 comment

Comments

@lolysc
Copy link

lolysc commented Jun 11, 2021

以这个为例:page-demo/form/high
datasource绑定了data,当默认的data有行数据的时候,新增按钮有效;但如果默认的data是个空数组,则新增按钮无效,界面不刷新。强制调用实例的forceupdate都不行。

@mynetfan
Copy link
Collaborator

已获悉此问题。
临时解决方案:在data.push后setTableData(data)

@github-actions github-actions bot locked and limited conversation to collaborators Sep 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants