tachybase_todo/packages/resourcer/src/__tests__/actions/demo1.ts

6 lines
101 B
TypeScript
Raw Normal View History

2020-10-24 15:34:43 +08:00
export default async function (ctx, next) {
ctx.arr.push(9);
await next();
ctx.arr.push(10);
2021-12-06 21:23:34 +08:00
}