Skip to content

Commit

Permalink
fix: 添加默认 responseType 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
winixt committed Nov 8, 2023
1 parent 04e745f commit 2e01629
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/fes-plugin-request/src/template/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ function getRequestInstance() {
type: ApplyPluginsType.modify,
initialValue: {
timeout: 10000,
responseType: 'json',
},
});

Expand Down

0 comments on commit 2e01629

Please sign in to comment.