Commit 604ef0b7 authored by Steven杜宇's avatar Steven杜宇

// 名片

parent 3cdbf80c
......@@ -39,6 +39,15 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
nextButton.isEnabled = false
nextButton.backgroundColor = UIColor.brandGrayColor4
}
if self.viewModel.model.avatar.isEmpty {
viewModel.requestChangeHead {[weak self] _, _ in
guard let self = self else { return }
let url = URL(string: self.viewModel.model.avatar)
self.photoImageView.kf.setImage(with: url)
self.viewModel.didChange = true
}
}
}
func setView() {
......
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