Commit a81ec69d4b9a6cad64690402c6917671ec521e51

Authored by 左丞
1 parent 3348440c
Exists in newLive

no message

YouerLiveVideo/YouerLiveVideo/controllers/User/UserViewController.swift
... ... @@ -54,6 +54,10 @@ class UserViewController: UIViewController {
54 54 }
55 55  
56 56 func editBtnClick(){
  57 + if !user.isOnline(){
  58 + self.view.makeToast("请先登录")
  59 + return
  60 + }
57 61 let vc = Story.instantiateViewControllerWithIdentifier("AppSettingViewControllerVC", storyName: "User") as! AppSettingViewController
58 62 vc.title = "设置"
59 63 self.navigationController?.pushViewController(vc, animated: true)
... ...