WanPai/Root/Home/VC/HomeVC.swift
@@ -16,6 +16,7 @@ //https://media.w3.org/2010/05/sintel/trailer.mp4 let ChooseHomeStore_Noti = Notification.Name.init("ChooseHomeStore_Noti") let UpdateCurrentStore_Noti = Notification.Name.init("UpdateCurrentStore_Noti") class HomeVC: BaseVC{ @IBOutlet weak var collectionView: BaseCollectionView! @@ -217,6 +218,7 @@ UserDefaults.standard.set(weakSelf.storeModel!.toJSONString(), forKey: "CurrentStore") UserDefaults.standard.synchronize() NotificationCenter.default.post(name: UpdateCurrentStore_Noti, object: nil, userInfo: nil) } }