diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-plugincomponent.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-plugincomponent.md index baf8013ab88547a5222bc1a5a1b64af25a356c67..23932ceb53958abb68389045136f508c8f263ab4 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-plugincomponent.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-plugincomponent.md @@ -37,9 +37,9 @@ PluginComponent(value: { template: PluginComponentTemplate, data: KVObject}) 模板支持两种提供方式: * 1.使用绝对路径进行资源提供:source字段填写模板绝对路径,bundleName不需要填写。仅适用于不需要加载资源的单独模板页面,不建议使用。 -* 2.通过应用包进行资源提供:bundleName字段需要填写应用包名;source字段填写相对hap包的模板相对路径,对于多hap场景,通过相对路径&hap名称的方式进行hap包的确认。 +* 2.通过应用包进行资源提供:bundleName字段需要填写应用包名;source字段填写相对hap包的模板相对路径。 - 例如:{source:'ets/pages/plugin.js&plugin', bundleName:'com.example.provider'} + 例如:{source:'ets/pages/plugin.js', bundleName:'com.example.provider'} 仅对FA模型支持source字段填写AbilityName进行模板提供。