fix:项目/学习路径图共享文档下载

This commit is contained in:
wyx
2023-02-25 22:25:19 +08:00
parent 7024ef20dd
commit 52cf50da37
2 changed files with 4 additions and 2 deletions

View File

@@ -714,7 +714,8 @@ const queryAllStatus = (data) => {
// 共享文档下载
function downloadFile(url) {
window.open(url);
console.log(import.meta.env.VITE_FILE_PATH + url)
window.open(import.meta.env.VITE_FILE_PATH + url);
}
// 继续学习

View File

@@ -564,7 +564,8 @@ function whiteTypes(type) {
// 共享文档下载
function downloadFile(url) {
window.open(url);
console.log(import.meta.env.VITE_FILE_PATH + url)
window.open(import.meta.env.VITE_FILE_PATH + url);
}
// 继续学习