| type | 'submit' | 'save' | 'cancel' | 'refresh' | 'refreshPage' | 'refreshTable' | 'refreshData' | 'dialog' | 'request' | 'setFormData' | download' | 'upload' | link' | 'globalMethod' | 'formMethod' | 'logout' | 'confirm' | 'updateTableRow' | 'scanCode' | | | 动作类型 |
| method | 'get' | 'post' | 'put' | 'delete' | | | 当 type 是 request 的时候,请求的方法 |
| url | string | ️ | ✔️ | 当 type 是 request、 download 、 upload 的时候请求的地址 |
| href | ConditionalPropertyPropType(string) | | ✔️ | 当 type 是 `link' 的时候,链接的地址 |
| hrefIsSiteBased | bool | false | | 如果值为 false 并且此链接位于 pbc 下,href 将自动拼接上 pbc 的 token 作为 basename,移动端将自动拼接上 mobile 的前缀 |
| suppressBasePath | bool | false | | 是否直接链接不通过 react router 的 base path |
| suppressInheritIncludeDeleted | bool | false | | 是否禁止自动继承当前页面的 include_deleted 属性,此属性一般在当前页面 url 的 search params 里 |
| target | string | | | 当 type 是 `link' 的时候,html a 标签的 target 属性 |
| replace | bool | false | ️ | 当 type 是 `link' 的时候,react-router Link 的 replace 属性 |
| requestData | object | formData | ✔️ | 当 type 是 request 的时候,发送给服务器的数据 |
| accept | string | | ✔️ | 当 type 是 upload 的时候,上传接受的文件类型 |
| openFormProps | object | false | | 当 type 是 open 的时候,打开的表单/页面的属性,兼容所有 FormRenderer 的属性 |
| openDialogProps | OpenDialogProps | | | 当 type 是 open 的时候,打开的 Dialog 的属性 |
| msg | string | | ✔️ | 当 type 是 submit, save, request, download, upload, 的时候,请求成功的提示信息 |
| uploadingMsg | string | | | 当 type 是 upload 的时候,正在上传的提示信息 |
| uploadFileKey | string | | | 当 type 是 upload 的时候,上传给服务器的文件在请求中的字段名 |
| successAction | ButtonAction | | | 按钮的事件成功过后执行的另一个事件,可以递归使用 |
| suppressSuccessLinkDelay | bool | | | By default, link in successAction will has 2s delay |
| successLinkDelayTime | number | 2000 | | 自定义 successAction 中 link 动作的延迟时间(ms) |
| globalMethod | string | | | 当 type 是 globalMethod 的时候,调用的 window 对象上的方法名 |
| filename | string | | | 当 type 是 download 的时候,下载的文件名 |
| title | string | | | 当 type 是 confirm 的时候,确认框的标题 |
| content | string | | | 当 type 是 confirm 的时候,确认框的内容 |
| updateType | 'add' | 'update' | 'remove' | | | 当 type 是 updateTableRow 的时候,更新的操作类型 |
| rowData | string | object | | | 当 type 是 updateTableRow 的时候,更新的数据 |