Quellcode durchsuchen

ios端可更新

panxingxin vor 5 Jahren
Ursprung
Commit
bdbf05eb6e
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      src/app/app.component.ts

+ 3 - 1
src/app/app.component.ts

@@ -188,7 +188,9 @@ export class AppComponent {
       this.statusBar.styleDefault();
       this.splashScreen.hide();
       await this.getVersionNumber()
-      await this.update.isUpdate()
+      if(this.device.platform=='Android') {
+        await this.update.isUpdate()
+      }
     });
   }
   //android通过返回按钮退出应用