Browse Source

弹窗替代式式显示

harry 3 years ago
parent
commit
c2aeb35f86
1 changed files with 2 additions and 1 deletions
  1. 2 1
      BFCommonKit/Classes/BFUtility/PQCommonMethodUtil.swift

+ 2 - 1
BFCommonKit/Classes/BFUtility/PQCommonMethodUtil.swift

@@ -418,7 +418,8 @@ public func getMachineCode() -> String {
 /// - Returns: <#description#>
 public func cShowHUB(superView: UIView?, msg: String?) {
     var sty: ToastStyle = ToastManager.shared.style
-    ToastManager.shared.isQueueEnabled = true
+//    ToastManager.shared.isQueueEnabled = true
+    cHiddenHUB(superView: nil)
     sty.messageAlignment = .center
     DispatchQueue.main.async {
         if superView == nil {