mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
feat: plugin request 添加版本导出 (#208)
This commit is contained in:
parent
19ee8b1253
commit
71b03f0342
@ -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';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user