Update middleware.md

This commit is contained in:
Pearl C 2023-02-10 16:56:40 +08:00 committed by GitHub
parent 032408f725
commit 26f0de0488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ app.resourcer.use(middleware.getHandler());
**示例**
以下示例在请求处理只输出 `1`,不执行 fn1 中的 `2` 输出。
以下示例在请求处理只输出 `1`,不执行 fn1 中的 `2` 输出。
```ts
const middleware = new Middleware((ctx, next) => {