Commit 8e769a0b authored by David黄金龙's avatar David黄金龙

同步dev

parent 1d79476f
...@@ -240,6 +240,9 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource { ...@@ -240,6 +240,9 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
vc.modalPresentationStyle = .custom vc.modalPresentationStyle = .custom
self.navigationController?.present(vc, animated: true) self.navigationController?.present(vc, animated: true)
return return
}
let item: PersonalModuleItem = items[indexPath.row] let item: PersonalModuleItem = items[indexPath.row]
switch item.type { switch item.type {
case .myMessage://我的消息 case .myMessage://我的消息
...@@ -297,9 +300,9 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource { ...@@ -297,9 +300,9 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
return UIView() return UIView()
} }
} }
extension YHMyViewController { extension YHMyViewController {
func randomAlphanumericString(_ length: Int) -> String { func randomAlphanumericString(_ length: Int) -> String {
let letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" let letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
...@@ -323,4 +326,4 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource { ...@@ -323,4 +326,4 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
headerView.nickName = "登录/注册" headerView.nickName = "登录/注册"
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment