简体中文
getEntrySource
约 103 字小于 1 分钟
2025-09-22
获取更具体的入口来源信息,一个 entrySource 可能对应多种 sourceAction。
参数
无
返回结果
| 合法值 | 说明 |
|---|---|
| StandardForm | 标准对象表单 |
| BpmEditForm | 业务流表单 |
| ApproveEditForm | 审批流表单 |
| StageEditForm | 阶段推进器表单 |
| ChangeOrder | 变更单 |
| ... | 各种其他业务场景 |
代码示例
{
event: "form.render.before",
functional: function (pluginExecResult, options) {
console.log("custom plugin: form.render.before exec");
let {dataGetter}=options;
console.log("entry source:",dataGetter.getEntrySource())
}
},