baidu / baidu/amis

请教一下本地删除无法删除数据。

Open
#7,803 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 实现场景:
本地进行增删改,点击删除将所点击行删除

#### 存在的问题:
只能删除一次 第二次删除后无反应

#### 当前方案:
![image](https://github.com/baidu/amis/assets/96569767/eb02ddd7-c1bc-42b4-8df5-a288511b5ccf)
这样写的话只能删除一次,
![image](https://github.com/baidu/amis/assets/96569767/874b6d15-fecf-4f87-8e17-397e86c7a8c4)
但是打印是空数组
![image](https://github.com/baidu/amis/assets/96569767/fae97bcd-4ad8-48fb-8278-64231f008d3b)
页面上的数据没有被删除
```
code here...
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue provides screenshots but no file, test, entry point, or complete code sample. Reproduce the local add/edit/delete scenario described, then trace the local data deletion flow; it is done when successive row deletions update the page correctly rather than only the first deletion.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.