Commit 7263e154 authored by pete谢兆麟's avatar pete谢兆麟

头像链接地址

parent 543bdf54
...@@ -140,7 +140,8 @@ class YHEditBaseUserInfoViewController: YHBaseViewController { ...@@ -140,7 +140,8 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
self.photoImageView.image = image self.photoImageView.image = image
self.viewModel.uploadImage(image, true) {[weak self] success, error in self.viewModel.uploadImage(image, true) {[weak self] success, error in
guard let self = self else { return } guard let self = self else { return }
self.model.avatar = success ?? "" viewModel.model.avatar = success ?? ""
if self.viewModel.isCanNext(step: 1) { if self.viewModel.isCanNext(step: 1) {
nextButton.isEnabled = true nextButton.isEnabled = true
nextButton.backgroundColor = UIColor.brandMainColor nextButton.backgroundColor = UIColor.brandMainColor
......
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