From 152da0e2d8cd3bd522fb04d1114f0930c33c9fdf Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期四, 26 十月 2023 17:19:30 +0800
Subject: [PATCH] 修复BUG

---
 WanPai/Base/BaseNav.swift |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/WanPai/Base/BaseNav.swift b/WanPai/Base/BaseNav.swift
index d6b6906..6ae0481 100644
--- a/WanPai/Base/BaseNav.swift
+++ b/WanPai/Base/BaseNav.swift
@@ -63,9 +63,7 @@
     open func navigationController(_ navigationController: UINavigationController, willShow viewController: UIViewController, animated: Bool) {
 
         let status = lucencyVCs.contains(where: {$0 == viewController.classForCoder})
-		print("--->\(viewController)")
-
-        if navigationController.viewControllers.count == 1 || status{
+		if (navigationController.viewControllers.count == 1 || status) && !(viewController is WelfareVC){
             if #available(iOS 15.0, *) {
                 navigationBar.standardAppearance.backgroundImage = nil
                 navigationBar.scrollEdgeAppearance?.backgroundImage = nil

--
Gitblit v1.7.1