Explorar el Código

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

tags/jenkins-front-end-screenad-179-v28^0
hupeng hace 5 años
padre
commit
d07167544b
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      App.js

+ 3
- 1
App.js Ver fichero

@@ -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)
);


Cargando…
Cancelar
Guardar