|
@@ -109,7 +109,7 @@ export class UpdateService {
|
|
|
confirm.present();
|
|
|
} else {
|
|
|
if (auto) {
|
|
|
- this.alertCtrl.create({
|
|
|
+ let alert = await this.alertCtrl.create({
|
|
|
header: '已是最新版本',
|
|
|
message: `当前版本 ${res.version}`,
|
|
|
backdropDismiss: false,
|
|
@@ -120,6 +120,7 @@ export class UpdateService {
|
|
|
},
|
|
|
],
|
|
|
});
|
|
|
+ alert.present();
|
|
|
}
|
|
|
}
|
|
|
},
|