src/utils/request.js
@@ -133,7 +133,8 @@ return tansParams(params) }], headers: { 'Authorization': authorizationValue 'Authorization': authorizationValue, 'Content-Type': 'application/x-www-form-urlencoded' } }) }, @@ -193,6 +194,9 @@ transformRequest: [(params) => { return tansParams(params) }], headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, responseType: 'blob' }).then((r) => { const content = r.data