ant-design / ant-design/pro-editor

【Bug】SortableTree addNode 方法未实现带 index 情况

Open
#54 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
247
Forks
28
PR merge metrics
No merged PRs in 30d

Description

详见代码:

![image](https://github.com/ant-design/pro-editor/assets/4705237/8d0c85e0-39b8-4bd8-97e2-8f659e82331c)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the SortableTree addNode method and use the linked screenshot to determine the expected behavior when an index is supplied. Reproduce indexed insertion in the component, then verify that addNode handles the index case as described by the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.