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

FormArray add 如何新增插入到数据最上面 #6644

Open
605666069 opened this issue Jun 16, 2024 · 1 comment
Open

FormArray add 如何新增插入到数据最上面 #6644

605666069 opened this issue Jun 16, 2024 · 1 comment
Labels

Comments

@605666069
Copy link

Version of antd-mobile

^5.33.0

Operating system and its version

Others

Browser and its version

chorme

Sandbox to reproduce

No response

What happened?

FormArray 使用add 方法后会在数据最后面加上一条数据,我如何在最上面加一条数据?

Relevant log output

No response

@605666069 605666069 added the bug label Jun 16, 2024
@liqiuqiui
Copy link
Contributor

第二个参数不是有 insertIndex吗?写 0 不就行了

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

No branches or pull requests

2 participants