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

@@ -4678,7 +4678,17 @@ export default {
}
// 共享文档文件下载
const downloadFile = (url) => {
url && window.open(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
);
}
// url && window.open(url);
};
function stageChange(item, index) {
state.choosedStageName = item.name;