简体中文
detail.multitable.render.after
约 187 字小于 1 分钟
2025-12-16
该钩子发生在渲染详情页从对象表格之后调用。 详情页从对象表格渲染后执行额外的动作。
参数
functional用于注册Hook回调函数。执行该Hook时,宿主会向回调函数传入以下参数:
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| context | 事件上下文,包含通用参数 | Object | — | — |
| plugin | 当前插件运行信息,业务逻辑通常不需要使用 | Object | — | — |
| context.targetObjectApiName | 当前从对象apiName | String | — | — |
返回结果
该Hook当前不提供对外返回配置。
基础示例
监听从表渲染完成
export default class Plugin {
apply() {
return [{
event: "detail.multitable.render.after",
functional: this.detailListRenderAfter.bind(this)
}]
}
detailListRenderAfter(context, plugin) {
console.info('从表渲染完成', context.targetObjectApiName);
}
}