瀏覽代碼

ios端可更新

panxingxin 5 年之前
父節點
當前提交
bdbf05eb6e
共有 1 個文件被更改,包括 3 次插入1 次删除
  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通过返回按钮退出应用