|
@@ -3388,7 +3388,7 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:
|
|
|
// 删除Item
|
|
// 删除Item
|
|
|
NSInteger item_count = [self itemCountInSection:indexPath.section];
|
|
NSInteger item_count = [self itemCountInSection:indexPath.section];
|
|
|
for (NSInteger i = 0; i < item_count; i++) {
|
|
for (NSInteger i = 0; i < item_count; i++) {
|
|
|
- if (i == indexPath.row) {
|
|
|
|
|
|
|
+ if (i >= indexPath.row) {
|
|
|
if (i < item_count - 1) {
|
|
if (i < item_count - 1) {
|
|
|
item_key = [NSString stringWithFormat:@"item_%ld",i + 1];
|
|
item_key = [NSString stringWithFormat:@"item_%ld",i + 1];
|
|
|
NSDictionary *followed_item_json = [new_section_json objectForKey:item_key];
|
|
NSDictionary *followed_item_json = [new_section_json objectForKey:item_key];
|