Sfoglia il codice sorgente

[测试][升级]:升级方式测试

tags/jenkins-front-end-screenad-179-v28^0
hupeng 5 anni fa
parent
commit
d07167544b
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      App.js

+ 3
- 1
App.js Vedi File

@@ -117,7 +117,9 @@ export default class MyPage extends Component {
codePushUpdate() {
CodePush.allowRestart();
CodePush.sync(
{ installMode: CodePush.InstallMode.ON_NEXT_RESUME},
{ mandatoryInstallMode: CodePush.InstallMode.IMMEDIATE,
installMode: CodePush.InstallMode.IMMEDIATE},
this.codePushStatusDidChange.bind(this),
this.codePushDownloadDidProgress.bind(this)
);


Caricamento…
Annulla
Salva