Browse Source

1.修改iOS Apex Drivers Alert消息为空不显示。

Pen Li 7 years ago
parent
commit
e2778b2ecf

+ 3 - 0
Redant Drivers/Apex And Drivers/BaseViewController/RABaseViewController.m

@@ -50,6 +50,9 @@
 }
 
 - (void)showAlert:(NSString *)msg {
+    if (msg.length == 0) {
+        return;
+    }
     [self.view makeToast:msg duration:2.0f position:CSToastPositionCenter];
 }