修复bug

This commit is contained in:
liyuhua
2024-04-01 17:03:49 +08:00
parent b87bc8a068
commit 9145b6a778

View File

@@ -214,14 +214,15 @@ extension UserInfoVC: UserFunctionViewProtocol{
let web = WebViewController(url: "mew/\(H5Utils.autonym.rawValue)") let web = WebViewController(url: "mew/\(H5Utils.autonym.rawValue)")
self?.navigationController?.pushViewController(web, animated: true) self?.navigationController?.pushViewController(web, animated: true)
} }
return
} }
}else{ }
let vc = RoomVC(roomUid: "\(AuthManager.userUid)") let vc = RoomVC(roomUid: "\(AuthManager.userUid)")
vc.roomText = (self.info?.nick ?? "") + "的房间" vc.roomText = (self.info?.nick ?? "") + "的房间"
let nav = BaseNavigationViewController.init(rootViewController: vc) let nav = BaseNavigationViewController.init(rootViewController: vc)
nav.modalPresentationStyle = .fullScreen nav.modalPresentationStyle = .fullScreen
self.present(nav, animated: true, completion: nil) self.present(nav, animated: true, completion: nil)
}
} }
} fail: { code, message in } fail: { code, message in
HUDTool.show(with: message) HUDTool.show(with: message)