Commit dceb8a38 authored by David黄金龙's avatar David黄金龙

处理 一处警告

parent 391400d3
......@@ -28,7 +28,7 @@ class YHMyNameCardAvatarInfoCell: UITableViewCell {
self.headImgV.image = UIImage(named: "people_head_default")
}
var cityStr = self.userModel.address.showCity()
let cityStr = self.userModel.address.showCity()
self.cityLabel.text = cityStr
let cityWidth = self.getWith(font: self.cityLabel.font, height: 20, string: cityStr)
self.cityLabel.frame = CGRectMake(0, 0, cityWidth+8, 20)
......
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