Skip to content

Commit 1328cb4

Browse files
committed
bugfix
1 parent e147d2c commit 1328cb4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Coding_iOS/Views/TableListView/EABoardTaskListView.m

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,14 @@ - (void)addBtnClicked{
275275
_boardTLsChangedBlock();
276276
}
277277
}
278-
__weak typeof(self) weakSelf = self;
279278
SettingTextViewController *vc = [SettingTextViewController settingTextVCWithTitle:@"创建任务列表" textValue:nil doneBlock:^(NSString *textValue) {
280279
[NSObject showHUDQueryStr:@"正在添加..."];
281-
[[Coding_NetAPIManager sharedManager] request_AddBoardTaskListsInPro:weakSelf.myBoardTL.curPro withTitle:textValue andBlock:^(EABoardTaskList *data, NSError *error) {
280+
[[Coding_NetAPIManager sharedManager] request_AddBoardTaskListsInPro:self.myBoardTL.curPro withTitle:textValue andBlock:^(EABoardTaskList *data, NSError *error) {
282281
[NSObject hideHUDQuery];
283282
if (data) {
284283
[NSObject showHudTipStr:@"已添加"];
285-
if (weakSelf.boardTLsChangedBlock) {
286-
weakSelf.boardTLsChangedBlock();
284+
if (self.boardTLsChangedBlock) {
285+
self.boardTLsChangedBlock();
287286
}
288287
}
289288
}];

0 commit comments

Comments
 (0)