Commit a367c9baee1cc15997e1ac2b519935c5c1daa225
1 parent
c725fa81
Exists in
parentassistant
no message
Showing
3 changed files
with
11 additions
and
1 deletions
Show diff stats
ParentAssistant/ParentAssistant/Classes/controllers/Information/InformationViewController.swift
| ... | ... | @@ -172,6 +172,12 @@ class InformationViewController: UIViewController,UISearchBarDelegate { |
| 172 | 172 | override func viewWillAppear(_ animated: Bool) { |
| 173 | 173 | super.viewWillAppear(animated) |
| 174 | 174 | getData() |
| 175 | + if isFirstviewController{ | |
| 176 | + leftLabel.text = AccountManager.shared.address | |
| 177 | + }else{ | |
| 178 | + | |
| 179 | + } | |
| 180 | + | |
| 175 | 181 | } |
| 176 | 182 | override func didReceiveMemoryWarning() { |
| 177 | 183 | super.didReceiveMemoryWarning() | ... | ... |
ParentAssistant/ParentAssistant/Classes/controllers/evaluation/EvaluationViewController.swift
| ... | ... | @@ -218,6 +218,7 @@ class EvaluationViewController: UIViewController,CLLocationManagerDelegate,Selec |
| 218 | 218 | override func viewWillAppear(_ animated: Bool) { |
| 219 | 219 | super.viewWillAppear(animated) |
| 220 | 220 | self.getData() |
| 221 | + leftLabel.text = AccountManager.shared.address | |
| 221 | 222 | } |
| 222 | 223 | override func didReceiveMemoryWarning() { |
| 223 | 224 | super.didReceiveMemoryWarning() | ... | ... |
ParentAssistant/ParentAssistant/Classes/controllers/userCenter/BaseCityChooseSchoolViewController.swift
| ... | ... | @@ -161,7 +161,10 @@ class BaseCityChooseSchoolViewController: UIViewController,UISearchBarDelegate { |
| 161 | 161 | self.getData() |
| 162 | 162 | } |
| 163 | 163 | |
| 164 | - | |
| 164 | + override func viewWillAppear(_ animated: Bool) { | |
| 165 | + super.viewWillAppear(animated) | |
| 166 | + citySelectbtn.text = AccountManager.shared.address | |
| 167 | + } | |
| 165 | 168 | /* |
| 166 | 169 | // MARK: - Navigation |
| 167 | 170 | ... | ... |