Commit a9f7a8ca authored by zhengke's avatar zhengke

修改

parent 0444a6c6
......@@ -212,7 +212,7 @@ export function downloadLocalFile(fileName, filePath) {
const a = document.createElement('a');
a.setAttribute('download', '');
var url = process.env.API;
a.setAttribute('href', url + '/file/DownloadFileForPdf?fileName=' + fileName + '&fPath=' + filePath);
a.setAttribute('href', url + '/Upload/DownloadFileForPdf?fileName=' + fileName + '&fPath=' + filePath);
a.click();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment