diff --git a/packages/fes-plugin-request/src/template/request.js b/packages/fes-plugin-request/src/template/request.js index f1b27123..9b61ea48 100644 --- a/packages/fes-plugin-request/src/template/request.js +++ b/packages/fes-plugin-request/src/template/request.js @@ -141,7 +141,7 @@ const _request = (url, data, options, onSuccess) => { } if (!context.error) { if (onSuccess) { - return onSuccess(dataHandler(context.response.data, context.response), context); + return onSuccess(await dataHandler(context.response.data, context.response), context); } return dataHandler(context.response.data, context.response); }