From 51312f46cf186d34ded8c64a1232a4e4864ed597 Mon Sep 17 00:00:00 2001 From: ShiQuan Date: Fri, 22 Apr 2022 13:25:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20iOS=20=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E6=97=A0=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.d.ts | 4 ++-- index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index 29d0681..11bf0ed 100644 --- a/index.d.ts +++ b/index.d.ts @@ -56,13 +56,13 @@ export default class JPush { /** * 初始化推送服务 - * {"appKey":"","channel":"dev","production":1} + * {"appKey":"","channel":"dev","production":false} * 请在componentDidMount()调用init,否则会影响通知点击事件的回调 * */ static init(params: { appKey: string; - titchannelle: string; + channel: string; production: boolean; }): void; diff --git a/index.js b/index.js index 92bef1a..7b793e9 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ export default class JPush { /* * 初始化推送服务 - * {"appKey":"","channel":"dev","production":1} + * {"appKey":"","channel":"dev","production":false} * 请在componentDidMount()调用init,否则会影响通知点击事件的回调 * */ static init(params) {