From 93783809cfb18ae273bd3a78c8dbca91facd10d9 Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期三, 29 十一月 2023 11:49:49 +0800 Subject: [PATCH] fix bug --- WanPai/Base/BaseVC.swift | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/WanPai/Base/BaseVC.swift b/WanPai/Base/BaseVC.swift index 32546ba..096ce16 100644 --- a/WanPai/Base/BaseVC.swift +++ b/WanPai/Base/BaseVC.swift @@ -24,6 +24,11 @@ } } + override func viewWillAppear(_ animated: Bool) { + super.viewWillAppear(animated) + navigationController?.delegate?.navigationController?(navigationController!, willShow: self, animated: true) + } + override func viewDidLoad() { super.viewDidLoad() disposeBag = DisposeBag() -- Gitblit v1.7.1