Commit a367c9baee1cc15997e1ac2b519935c5c1daa225

Authored by 左丞
1 parent c725fa81
Exists in parentassistant

no message

ParentAssistant/ParentAssistant/Classes/controllers/Information/InformationViewController.swift
@@ -172,6 +172,12 @@ class InformationViewController: UIViewController,UISearchBarDelegate { @@ -172,6 +172,12 @@ class InformationViewController: UIViewController,UISearchBarDelegate {
172 override func viewWillAppear(_ animated: Bool) { 172 override func viewWillAppear(_ animated: Bool) {
173 super.viewWillAppear(animated) 173 super.viewWillAppear(animated)
174 getData() 174 getData()
  175 + if isFirstviewController{
  176 + leftLabel.text = AccountManager.shared.address
  177 + }else{
  178 +
  179 + }
  180 +
175 } 181 }
176 override func didReceiveMemoryWarning() { 182 override func didReceiveMemoryWarning() {
177 super.didReceiveMemoryWarning() 183 super.didReceiveMemoryWarning()
ParentAssistant/ParentAssistant/Classes/controllers/evaluation/EvaluationViewController.swift
@@ -218,6 +218,7 @@ class EvaluationViewController: UIViewController,CLLocationManagerDelegate,Selec @@ -218,6 +218,7 @@ class EvaluationViewController: UIViewController,CLLocationManagerDelegate,Selec
218 override func viewWillAppear(_ animated: Bool) { 218 override func viewWillAppear(_ animated: Bool) {
219 super.viewWillAppear(animated) 219 super.viewWillAppear(animated)
220 self.getData() 220 self.getData()
  221 + leftLabel.text = AccountManager.shared.address
221 } 222 }
222 override func didReceiveMemoryWarning() { 223 override func didReceiveMemoryWarning() {
223 super.didReceiveMemoryWarning() 224 super.didReceiveMemoryWarning()
ParentAssistant/ParentAssistant/Classes/controllers/userCenter/BaseCityChooseSchoolViewController.swift
@@ -161,7 +161,10 @@ class BaseCityChooseSchoolViewController: UIViewController,UISearchBarDelegate { @@ -161,7 +161,10 @@ class BaseCityChooseSchoolViewController: UIViewController,UISearchBarDelegate {
161 self.getData() 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 // MARK: - Navigation 169 // MARK: - Navigation
167 170