English
flow.bpm.detail.parse.tablist.render.before
About 98 wordsLess than 1 minute
2026-04-17
flow.bpm.detail.parse.tablist.render.before
Description: This hook is used to rewrite the tab list on the detail page.
1. tabArray
Feature Description
- Rewrites the tab list on the detail page.
Parameters
| Parameter | Description | Type |
|---|---|---|
| tabArray | Detail page tab list | Array |
| taskDetail | Task detail data | Object |
Return Value
| Parameter | Description | Type |
|---|---|---|
| tabArray | Detail page tab list | Array |
Parameter Code Example
let tabArray = options && options.tabArray;Code Example
module.exports = function (context, pluginService, pluginParam) {
return {
apply() {
return [
{
event: "flow.bpm.detail.parse.tablist.render.before",
functional: async function (context, options) {
let tabArray = options && options.tabArray;
let taskDetail = options && options.taskDetail;
return Promise.resolve({
tabArray: tabArray
});
}
}
];
}
};
};