Bläddra i källkod

自提点管理

南鑫林 6 år sedan
förälder
incheckning
8f5fa56c62

+ 6 - 2
RainbowPlanet/RainbowPlanet/Modules/MineModule/AddressManager/ViewController/AddressManagerViewController.swift

@@ -116,8 +116,12 @@ class AddressManagerViewController: BaseViewController {
     /// 选择自提地址
     func didSelectSelfMentionAddress(indexPath:IndexPath) {
         if self.addressManagerListModel?.selfAddress?.isEmpty ?? true {
-           let vc = EditSelfMentionContactsViewController()
-           self.navigationController?.pushViewController(vc, animated: true)
+            let vc = SelfRecommendationViewController()
+            vc.didSelectClosure = {
+                [weak self] in
+                self?.configCityManagementIndexApi()
+            }
+            self.navigationController?.pushViewController(vc, animated: true)
         }else {
             if self.addressManagerVCType == .mine {
                 managerSelfMentionAddressPushVC()