feat:修改共享文档下载

This commit is contained in:
lixg
2023-03-03 11:54:08 +08:00
parent 41b448abf2
commit 49fa5ae375
3 changed files with 551 additions and 478 deletions

View File

@@ -2790,7 +2790,12 @@ export default {
let urlNew = url.slice(1);
console.log(urlNew);
if (urlNew) {
window.open(process.env.VUE_APP_FILE_PATH + urlNew);
window.open(
window.location.protocol +
process.env.VUE_APP_BOE_API_URL +
process.env.VUE_APP_FILE_PATH +
urlNew
);
}
// if(url){
// const filename = '操作指南'