|
@@ -46,6 +46,7 @@ typedef enum {
|
|
|
|
|
|
|
|
- (void)changeCheckOptionData:(NSMutableDictionary *)data forSection:(NSInteger)section Row:(NSInteger)row {
|
|
- (void)changeCheckOptionData:(NSMutableDictionary *)data forSection:(NSInteger)section Row:(NSInteger)row {
|
|
|
self.check_option = YES;
|
|
self.check_option = YES;
|
|
|
|
|
+ [self.tableView endEditing:YES];
|
|
|
self.data_index = section;
|
|
self.data_index = section;
|
|
|
self.data_row = row;
|
|
self.data_row = row;
|
|
|
|
|
|
|
@@ -63,6 +64,7 @@ typedef enum {
|
|
|
|
|
|
|
|
- (void)changeData:(NSMutableDictionary *)data type:(ItemType)type forIndex:(NSInteger)index {
|
|
- (void)changeData:(NSMutableDictionary *)data type:(ItemType)type forIndex:(NSInteger)index {
|
|
|
self.check_option = NO;
|
|
self.check_option = NO;
|
|
|
|
|
+ [self.tableView endEditing:YES]; // 正在编辑状态中,选择其他Item导致编辑信息写入新的Item
|
|
|
if (data == nil || type == ItemTypeNone) {
|
|
if (data == nil || type == ItemTypeNone) {
|
|
|
self.data = nil;
|
|
self.data = nil;
|
|
|
self.template_data = nil;
|
|
self.template_data = nil;
|