File tree 1 file changed +3
-4
lines changed
Coding_iOS/Views/TableListView
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -275,15 +275,14 @@ - (void)addBtnClicked{
275
275
_boardTLsChangedBlock ();
276
276
}
277
277
}
278
- __weak typeof (self) weakSelf = self;
279
278
SettingTextViewController *vc = [SettingTextViewController settingTextVCWithTitle: @" 创建任务列表" textValue: nil doneBlock: ^(NSString *textValue) {
280
279
[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) {
282
281
[NSObject hideHUDQuery ];
283
282
if (data) {
284
283
[NSObject showHudTipStr: @" 已添加" ];
285
- if (weakSelf .boardTLsChangedBlock ) {
286
- weakSelf .boardTLsChangedBlock ();
284
+ if (self .boardTLsChangedBlock ) {
285
+ self .boardTLsChangedBlock ();
287
286
}
288
287
}
289
288
}];
You can’t perform that action at this time.
0 commit comments