Update action.md

This commit is contained in:
Pearl C 2023-02-10 16:58:42 +08:00 committed by GitHub
parent 882090fda5
commit 0cc007250b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ Instead of being instantiated directly, the Action is usually instantiated autom
| Name | Type | Default | Description | | Name | Type | Default | Description |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| `handler` | `Function` | - | Handler | | `handler` | `Function` | - | Handler function |
| `middlewares?` | `Middleware \| Middleware[]` | - | Middlewares for the action | | `middlewares?` | `Middleware \| Middleware[]` | - | Middlewares for the action |
| `values?` | `Object` | - | Default action data | | `values?` | `Object` | - | Default action data |
| `fields?` | `string[]` | - | Default list of targeted fields | | `fields?` | `string[]` | - | Default list of targeted fields |