Skip to content

Commit

Permalink
fix: 🐛 修复静态资源请求错误
Browse files Browse the repository at this point in the history
  • Loading branch information
FairyEver committed May 19, 2020
1 parent 339b94a commit 1983506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/modules/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default ({ service, request, serviceForMock, requestForMock, mock, faker,
* @param {String} url 文件地址
*/
FILE_GET (url = '') {
return requestForMock({
return request({
baseURL: process.env.BASE_URL,
url,
method: 'get'
Expand Down

0 comments on commit 1983506

Please sign in to comment.