baidu / baidu/amis

tree-select组件的行拖拽排序

Open
#2,941 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

是否关联于某个问题吗:

因为我在使用tree-select组件进行菜单路由实例编辑功能时,没办法实现拖拽行来达到新的上下排序

预期的解决方案:

期望可以通过拖拽行来重排序,并有api可配置。比如在行末尾增加拖拽图标,点击按住进行拖拽

任何附加信息:

麻烦确认下新版tree-select可编辑的增删改功能是否有api可配置

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the tree-select component and reading how its editable add, update, and delete behavior is currently configured. Define the configurable row-dragging behavior and verify that menu-route rows can be reordered through the proposed API, including the drag affordance described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.