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

[Bug Report] 使用 @formily/vue + @formily/antdv + schema json 开发,ArrayCards 嵌套 ArrayTable 时,ArrayCards.Remove 无法实现删除功能 #4237

Open
1 task
zlon101 opened this issue Nov 3, 2024 · 1 comment

Comments

@zlon101
Copy link

zlon101 commented Nov 3, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 点击ArrayCards.Addition按钮三次,新增三个 Card
  2. 点击最后一个Card对应的 ArrayCards.Remove,成功删除一个
  3. 再点击最后一个card对应的 ArrayCards.Remove,无法删除,也没有任何报错

What is expected?

点击 ArrayCards.Remove 可以删除对应的 Card

What is actually happening?

无法删除

Package

@formily/[email protected]


每次点击新增按钮,新增card后,删除按钮只会有一次生效

将 @formily/antdv 替换为 element-plus ,问题依然存在

@zlon101
Copy link
Author

zlon101 commented Nov 3, 2024

2024-11-03.21.53.18.mov

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

1 participant