From 5359c7bb5106e13e71366ffca19b920d62786f17 Mon Sep 17 00:00:00 2001 From: Devon Date: Sun, 9 Jul 2017 18:41:03 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(()=>{