|
@@ -62,7 +62,7 @@ open class TSToastTool {
|
|
|
|
|
|
|
|
|
/// 显示加载动画
|
|
|
- public func showLoading(text:String? = nil,containerView:UIView?) {
|
|
|
+ public func showLoading(text:String? = nil,containerView:UIView? = WindowHelper.getCurrentWindow()) {
|
|
|
kExecuteOnMainThread {
|
|
|
SVProgressHUD.setDefaultMaskType(.clear)
|
|
|
SVProgressHUD.setContainerView(containerView)
|