Skip to content

Commit

Permalink
feat: plugin request 添加版本导出
Browse files Browse the repository at this point in the history
  • Loading branch information
winixt committed Aug 25, 2023
1 parent 080218c commit 8654132
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/fes-plugin-request/src/template/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export const request = async (url, data, options = {}) => {
return response.data;
};

request.version = '4.0.0';

function isPromiseLike(obj) {
return !!obj && typeof obj === 'object' && typeof obj.then === 'function';
}
Expand Down

0 comments on commit 8654132

Please sign in to comment.