English
flow.remind.list.left.top.btn.render.before
About 104 wordsLess than 1 minute
2026-04-17
flow.remind.list.left.top.btn.render.before
Description: This hook is used to rewrite the top-left filter buttons.
1. leftTopBtnList
Feature Description
- Rewrites the top-left filter buttons.
Parameters
| Parameter | Description | Type |
|---|---|---|
| batchFlowType | Batch to-do type | String |
| templateInfo | Business type information | Object |
| leftTopBtnList | Top-left button list | Array |
Return Value
| Parameter | Description | Type |
|---|---|---|
| leftTopBtnList | Top-left button list | Array |
Parameter Code Example
let batchFlowType = options && options.batchFlowType;Code Example
module.exports = function (context, pluginService, pluginParam) {
return {
apply() {
return [
{
event: "flow.remind.list.left.top.btn.render.before",
functional: async function (context, options) {
let batchFlowType = options && options.batchFlowType;
let templateInfo = options && options.templateInfo;
let leftTopBtnList = options && options.leftTopBtnList;
return Promise.resolve({
leftTopBtnList: leftTopBtnList
});
}
}
];
}
};
};