mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
Update middleware.md
This commit is contained in:
parent
032408f725
commit
26f0de0488
@ -96,7 +96,7 @@ app.resourcer.use(middleware.getHandler());
|
|||||||
|
|
||||||
**示例**
|
**示例**
|
||||||
|
|
||||||
以下示例在请求处理是只输出 `1`,不执行 fn1 中的 `2` 输出。
|
以下示例在请求处理时只输出 `1`,不执行 fn1 中的 `2` 输出。
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
const middleware = new Middleware((ctx, next) => {
|
const middleware = new Middleware((ctx, next) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user