Commit 832fbb0c authored by lujunye's avatar lujunye

修复2

parent cb6a0ef1
...@@ -855,7 +855,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -855,7 +855,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
let vc = CityListViewController() let vc = CityListViewController()
vc.adrDatas = self.adrDatas vc.adrDatas = self.adrDatas
vc.locatStr = "未定位" vc.locatStr = "未定位"
if self.selectLoc.count != 0 || self.selectLoc != nil { if self.selectLoc.count != 0 {
vc.locatStr = self.selectLoc vc.locatStr = self.selectLoc
} }
vc.delegate = self vc.delegate = self
...@@ -868,7 +868,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -868,7 +868,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
let vc = CityListViewController() let vc = CityListViewController()
vc.adrDatas = adrDatas vc.adrDatas = adrDatas
vc.locatStr = "未定位" vc.locatStr = "未定位"
if self.selectLoc.count != 0 || self.selectLoc != nil { if self.selectLoc.count != 0 {
vc.locatStr = self.selectLoc vc.locatStr = self.selectLoc
} }
vc.delegate = self vc.delegate = self
......
...@@ -98,7 +98,7 @@ class CityListViewController: BaseViewController ,UITableViewDelegate,UITableVie ...@@ -98,7 +98,7 @@ class CityListViewController: BaseViewController ,UITableViewDelegate,UITableVie
navbar.title = "城市列表" navbar.title = "城市列表"
locLbl.text = locatStr locLbl.text = locatStr
print("loclbl")
for chart in adHeaders { for chart in adHeaders {
var arr:Array<cityListDataModel> = [] var arr:Array<cityListDataModel> = []
for item in adrDatas { for item in adrDatas {
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<constraint firstAttribute="width" constant="80" id="1ot-j5-ieI"/> <constraint firstAttribute="width" constant="80" id="1ot-j5-ieI"/>
</constraints> </constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/> <fontDescription key="fontDescription" type="system" pointSize="15"/>
<state key="normal" title=" " image="xiala"> <state key="normal" title=" 未定位 " image="xiala">
<color key="titleColor" name="标题字颜色"/> <color key="titleColor" name="标题字颜色"/>
</state> </state>
<connections> <connections>
......
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