We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46dca7a commit cfc4abdCopy full SHA for cfc4abd
src/index.ts
@@ -52,7 +52,7 @@ export default (api: IApi) => {
52
dirname(require.resolve('vue-hooks-plus/package.json')),
53
);
54
const axiosPath = winPath(dirname(require.resolve('axios/package.json')));
55
- let dataField = api.config.request?.dataField;
+ let dataField = api.userConfig.request?.dataField;
56
if (dataField === undefined) dataField = 'data';
57
const isEmpty = dataField === '';
58
const formatResult = isEmpty
0 commit comments