diff --git a/en/application-dev/reference/apis/js-apis-appAccount.md b/en/application-dev/reference/apis/js-apis-appAccount.md index bf7a006160c46af9bf7a2da5365253d084921607..f8414adaa9aa458914b66d9aaf503183c299095c 100644 --- a/en/application-dev/reference/apis/js-apis-appAccount.md +++ b/en/application-dev/reference/apis/js-apis-appAccount.md @@ -387,7 +387,7 @@ Checks whether an app account allows application data synchronization. This meth ### setAccountCredential -setAccountCredential(name: string, credentialType: string, credential: string,callback: AsyncCallback<void>): void +setAccountCredential(name: string, credentialType: string, credential: string callback: AsyncCallback<void>): void Sets a credential for an app account. This method uses an asynchronous callback to return the result. diff --git a/zh-cn/application-dev/reference/apis/js-apis-wifi.md b/zh-cn/application-dev/reference/apis/js-apis-wifi.md index 889b4504b5fbc055aa555e367e05339ea71c151a..c2854482f4e93b7dc03a395859fb5ea36b9cae7d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-wifi.md +++ b/zh-cn/application-dev/reference/apis/js-apis-wifi.md @@ -235,7 +235,7 @@ removeUntrustedConfig(config: WifiDeviceConfig): Promise<boolean> removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void -添加不可信网络配置,使用callback方式作为异步方法。 +移除不可信网络配置,使用callback方式作为异步方法。 - 需要权限: ohos.permission.SET_WIFI_INFO @@ -589,7 +589,7 @@ getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void | deviceAddress | string | 只读 | 设备MAC地址。 | | primaryDeviceType | string | 只读 | 主设备类型。 | | deviceStatus | [P2pDeviceStatus](#P2pDeviceStatus) | 只读 | 设备状态。 | -| groupCapabilitys | number | 只读 | 群组能力。 | +| groupCapabilities | number | 只读 | 群组能力。 | ## P2pDeviceStatus8+ @@ -668,7 +668,7 @@ createGroup(config: WifiP2PConfig): boolean; | 参数名 | 类型 | 读写属性 | 说明 | | -------- | -------- | -------- | -------- | -| deviceAddress | string | 只读 | 设备名称。 | +| deviceAddress | string | 只读 | 设备地址。 | | netId | number | 只读 | 网络ID。创建群组时-1表示创建临时组,-2表示创建永久组。 | | passphrase | string | 只读 | 群组密钥。 | | groupName | string | 只读 | 群组名称。 |