버그 수정

This commit is contained in:
2023-08-18 13:25:57 +00:00
parent b6cdd49449
commit c012a81377
+1 -1
View File
@@ -80,7 +80,7 @@ export function declProcDecorators<T extends ProcDecoratorChain>(...decorators:
async (ctx, req, res) => {
let rctx = ctx as unknown as OutType;
const decoratorStack: DecoratorStack = [];
if (!preDecorator) {
if (!preDecorator.length) {
return [decoratorStack, rctx];
}