diff --git a/README.md b/README.md index 1436572..e24a445 100755 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ export class AppModule { } ``` import { JPushPlugin } from '@ionic-native/jpush'; -constructor(private jpush: JPushPlugin) { +constructor(public jpush: JPushPlugin) { this.init(); //延迟执行,等极光完全初始化 setTimeout(()=>{