iview / iview/iview-admin

canEditTable组件中删除事件

Open
#519 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
16.3k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Description

canEditTable组件中删除事件的回调函数的参数传入时,第一个参数传入的数组数据,是要删除对象从数组中被删除后的数组,而第二个参数却还是原来被删除对象的索引,这不对呀,对象都已被删除了,我要怎么要被删除的对象去跟服务器交互?

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the canEditTable component and inspect its delete-event callback. Reproduce the callback arguments before and after an item is removed, then verify that the callback exposes enough information to identify the deleted object for server interaction.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.