Browse Source

[更新][修复]:更新方式更改

tags/jenkins-front-end-screenad-142-v91^0
hupeng 6 years ago
parent
commit
b3c7b0e23d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      App.js

+ 1
- 1
App.js View File

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


Loading…
Cancel
Save