diff --git a/zh-cn/application-dev/reference/apis/js-apis-featureAbility.md b/zh-cn/application-dev/reference/apis/js-apis-featureAbility.md index b6bd8e82544894a44040cbc93c8fea8d5242f636..e867008e4d8f9a93f0f2fd4adf5bb0b7921a7501 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-featureAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-featureAbility.md @@ -140,7 +140,7 @@ featureAbility.startAbility( | 名称 | 读写属性 | 类型 | 必填 | 描述 | | ----------- | -------- | ------ | ---- | -------------------------- | -| deviceId | 只读 | string | 否 | 设备id | +| deviceId | 只读 | string | 否 | 表示被启动的PageAbility的设备id,缺省表示启动本地的PageAbility | | bundleName | 只读 | string | 否 | 捆绑包名称 | | abilityName | 只读 | string | 否 | ability 名字 | | uri | 只读 | string | 否 | 请求中URI的描述 | @@ -187,7 +187,7 @@ featureAbility.startAbility( entities: ["entity.system.home"], type: "MIMETYPE", flags: FLAG_AUTH_READ_URI_PERMISSION, - deviceId: "", + deviceId: deviceId, bundleName: "com.example.startability", abilityName: "com.example.startability.MainAbility", uri: ""