Browse Source

弹窗替代式式显示

harry 3 năm trước cách đây
mục cha
commit
c2aeb35f86
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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 {