修改每日任务跳转房间出错

This commit is contained in:
启星
2025-10-28 09:18:28 +08:00
parent 3f76f23cb0
commit acc4cffad2
12 changed files with 149 additions and 26 deletions

View File

@@ -29,6 +29,7 @@
[self.navigationController setNavigationBarHidden:NO animated:YES];
[self getDayTask];
}
-(void)setNavgationItems{
[super setNavgationItems];
self.navigationItem.title = QXText(@"每日任务");

View File

@@ -44,6 +44,9 @@
if (self.model.task_status.intValue == 1) {
if (self.model.task_id.intValue == 9 || self.model.task_id.intValue == 10) {
QXGlobal.shareGlobal.taskModel = self.model;
if ([[QXGlobal shareGlobal].roomId isEqualToString:self.model.from_id]) {
[[QXGlobal shareGlobal] popToRoomViewController];
}
[[QXGlobal shareGlobal] joinRoomWithRoomId:self.model.from_id isRejoin:NO navagationController:self.viewController.navigationController];
}
}else if (self.model.task_status.intValue == 2) {