mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-31 22:42:51 +08:00
fix #47
This commit is contained in:
parent
ef339a1b96
commit
8ea95cd5ef
@ -78,7 +78,7 @@ value 取值范围:[0,99999]
|
|||||||
|
|
||||||
##### 接口定义
|
##### 接口定义
|
||||||
|
|
||||||
window.plugins.jPushPlugin.reSetBadge.setApplicationIconBadgeNumber(badge)
|
window.plugins.jPushPlugin.setApplicationIconBadgeNumber(badge)
|
||||||
|
|
||||||
##### 参数说明
|
##### 参数说明
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ value 取值范围:[0,99999]
|
|||||||
#####代码示例
|
#####代码示例
|
||||||
|
|
||||||
if(window.plugins.jPushPlugin.isPlatformIOS()){
|
if(window.plugins.jPushPlugin.isPlatformIOS()){
|
||||||
window.plugins.jPushPlugin.reSetBadge.setApplicationIconBadgeNumber(0);
|
window.plugins.jPushPlugin.setApplicationIconBadgeNumber(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user