English
approval.reply.list.render.before
About 114 wordsLess than 1 minute
2025-12-16
Description: this event is called before rendering the approval reply list
This event is used to perform extra actions before rendering the approval reply list, including but not limited to the following function: 1. Customizing the default expanded state of the approval reply list area
Parameters
| Parameter | Description | Type |
|---|---|---|
| showReplyList | Custom function to expand the approval opinion area by default | Function |
Example
1. showReplyList
Description
Customize the default expanded state of the approval opinion area (only supported on the data detail page)
Parameters
None
Return Value
None
Parameter Code Example
None
Code Example
export default class Plugin {
apply() {
return [
{
event: "approval.reply.list.render.before",
functional: this.approvalReplyListRenderBefore.bind(this)
}
]
}
approvalReplyListRenderBefore(api) {
api.showReplyList();
}
}