瀏覽代碼

弹窗替代式式显示

harry 3 年之前
父節點
當前提交
c2aeb35f86
共有 1 個文件被更改,包括 2 次插入1 次删除
  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 {