English
detail.render.after
About 92 wordsLess than 1 minute
2025-12-16
This hook is triggered after the detail page is rendered. Execute extra business actions after rendering the object detail page.
Parameters
| Parameter | Description | Type | Allowed Values | Default |
|---|---|---|---|---|
| Common parameters | See details | -- | -- | -- |
| data | Object detail data returned by the interface, including detail layout, detail data, etc. | Object | -- | -- |
Basic Example
Basic Usage:
export default class Plugin {
apply() {
return [{
event: 'detail.render.after',
functional: this.renderAfter.bind(this)
}]
}
renderAfter(context, plugin) {
console.log(context.data);
return Promise.resolve();
}
}Notes
1. Refreshing the detail page will also trigger this hook
