From 6ddd55b53818a4fa5278cbae06f646019072fafc Mon Sep 17 00:00:00 2001 From: fangJinliang1 Date: Thu, 22 Dec 2022 19:36:12 +0800 Subject: [PATCH] fix system.notification Signed-off-by: fangJinliang1 Change-Id: Ibe2056a3bc135fdca6fb1eac3c3b5e38ad9223a4 --- .../apis/js-apis-system-notification.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-notification.md b/zh-cn/application-dev/reference/apis/js-apis-system-notification.md index 000ec10775..dc72936c1b 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-notification.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-notification.md @@ -17,22 +17,22 @@ import notification from '@system.notification'; **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 必填 | 描述 | -| ----------- | --- | ---- | ---------------------------------------------- | ---- | ------------------------- | -| bundleName | 是 | 是 | string | 是 | 单击通知后要重定向到的应用程序的Bundle名。 | -| abilityName | 是 | 是 | string | 是 | 单击通知后要重定向到的应用程序的Ability名称。 | -| uri | 是 | 是 | string | 否 | 要重定向到的页面的uri。 | +| 名称 | 类型 | 可读 | 可写 | 必填 | 描述 | +| ----------- | ---------------------------------------------- | ---- | ------------------------- | ------------------------- | ------------------------- | +| bundleName | string | 是 | 是 | 是 | 单击通知后要重定向到的应用程序的Bundle名。 | +| abilityName | string | 是 | 是 | 是 | 单击通知后要重定向到的应用程序的Ability名称。 | +| uri | string | 是 | 是 | 否 | 要重定向到的页面的uri。 | ## ShowNotificationOptions **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 必填 | 描述 | -| ------------- | --- | ---- | ---------------------------------------------- | ---- | ------------------------- | -| contentTitle | 是 | 是 | string | 否 | 通知标题。 | -| contentText | 是 | 是 | string | 否 | 通知内容。 | -| clickAction | 是 | 是 | ActionResult | 否 | 通知被点击后触发的行为。 | +| 名称 | 类型 | 可读 | 可写 | 必填 | 描述 | +| ------------- | ---------------------------------------------- | ---- | ------------------------- | ------------------------- | ------------------------- | +| contentTitle | string | 是 | 是 | 否 | 通知标题。 | +| contentText | string | 是 | 是 | 否 | 通知内容。 | +| clickAction | ActionResult | 是 | 是 | 否 | 通知被点击后触发的行为。 | ## notification.show -- GitLab