1
2
3
4
5
6
7
8
9
10
11
12
13
14
| import axios from "@/assets/axios";
|
| /**
| * 文件下载
| * @returns
| */
| export const downLoadFileByFilePath = (filePath) => {
| return axios({
| method: "GET",
| url: "bomFeedbak/downLoadFileByFilePath",
| params: { filePath },
| responseType: "blob"
| })
| }
|
|