feat:修改共享文档下载

This commit is contained in:
lixg
2023-03-03 20:14:40 +08:00
parent 1d05a7ee7f
commit 5e5b280d95
3 changed files with 22 additions and 31 deletions

View File

@@ -4679,15 +4679,13 @@ export default {
// 共享文档文件下载
const downloadFile = (url) => {
console.log(url);
let urlNew = url.slice(1);
if (urlNew) {
window.open(
window.location.protocol +
process.env.VUE_APP_BOE_API_URL +
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 +
url
);
// url && window.open(url);
};
function stageChange(item, index) {