You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
268 B
16 lines
268 B
2 years ago
|
import request from '@/axios';
|
||
|
|
||
|
/**
|
||
|
* 文件流返回
|
||
|
* @param url 接口地址
|
||
|
* @param params 接口参数
|
||
|
*/
|
||
|
export const exportBlob = (url, params) => {
|
||
|
return request({
|
||
|
url: url,
|
||
|
params: params,
|
||
|
method: 'get',
|
||
|
responseType: 'blob',
|
||
|
});
|
||
|
};
|