Skip to content

Commit a7b8389

Browse files
committed
udpate api.md
1 parent 0c3e3fa commit a7b8389

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documents/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ JPushModule.clearLocalNotifications();
210210

211211
```
212212
var notificationId = 5;
213-
JPushModule.removeLocalNotification(id);
213+
JPushModule.removeLocalNotification(notificationId);
214214
```
215215

216216
#### clearAllNotifications
@@ -227,7 +227,7 @@ JPushModule.clearAllNotifications();
227227

228228
```
229229
var notificationId = 5;
230-
JPushModule.clearNotificationById(id);
230+
JPushModule.clearNotificationById(notificationId);
231231
```
232232

233233
#### 点击推送事件

0 commit comments

Comments
 (0)