ant-design / ant-design/pro-components

👑 [需求 | Feature]EditableTreeNode想实现一个可编辑的树组件

Open
#9,623 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🥰 需求描述 | Requirements description
想实现一个可编辑的树组件,可以快速添加节点而不必再打开一个Modal,每个节点后面都有一个“√”和“×”,用于添加和删除。

比如一个分类列表,只有一个分类名称和主键。

![image](https://github.com/user-attachments/assets/470b7053-d5c4-4d49-b3f9-5748af186288)

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the existing tree component entry points and reviewing how node creation and deletion currently use a modal. The work is done when nodes can be added inline with a check action and removed with an × action, while preserving the category name and primary key.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.