Commit a5d2ee57 authored by pete谢兆麟's avatar pete谢兆麟

头像更换挽留弹窗

parent ae0f0672
...@@ -159,6 +159,7 @@ class YHEditBaseUserInfoViewController: YHBaseViewController { ...@@ -159,6 +159,7 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
nextButton.isEnabled = false nextButton.isEnabled = false
nextButton.backgroundColor = UIColor.brandMainColor.withAlphaComponent(0.4) nextButton.backgroundColor = UIColor.brandMainColor.withAlphaComponent(0.4)
} }
self.viewModel.didChange = true
} }
} }
self.navigationController?.pushViewController(clipperVC, animated: true) self.navigationController?.pushViewController(clipperVC, animated: true)
...@@ -170,6 +171,7 @@ class YHEditBaseUserInfoViewController: YHBaseViewController { ...@@ -170,6 +171,7 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
guard let self = self else { return } guard let self = self else { return }
let url = URL(string: self.viewModel.model.avatar) let url = URL(string: self.viewModel.model.avatar)
self.photoImageView.kf.setImage(with: url) self.photoImageView.kf.setImage(with: url)
self.viewModel.didChange = true
} }
} }
......
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