From 38f768d39ba27d303147c59a222655b7c6cdfb25 Mon Sep 17 00:00:00 2001
From: younger_times <841720330@qq.com>
Date: 星期二, 04 七月 2023 14:45:02 +0800
Subject: [PATCH] 修改BUG

---
 OKProject/Class/Home/Controller/HomeVC.swift |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/OKProject/Class/Home/Controller/HomeVC.swift b/OKProject/Class/Home/Controller/HomeVC.swift
index 90585b5..c546832 100644
--- a/OKProject/Class/Home/Controller/HomeVC.swift
+++ b/OKProject/Class/Home/Controller/HomeVC.swift
@@ -125,6 +125,10 @@
         }
 
         customerViewModel.queryCustomerPhone()
+
+        NotificationCenter.default.rx.notification(LoginSuccess_Noti).takeUntil(self.rx.deallocated).subscribe(onNext: {noti in
+            self.setupAdvert()
+        }).disposed(by: disposeBag)
     }
     
     override func viewWillAppear(_ animated: Bool) {

--
Gitblit v1.7.1