mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-11 11:56:48 +08:00
fix:项目/学习路径图共享文档下载
This commit is contained in:
@@ -714,7 +714,8 @@ const queryAllStatus = (data) => {
|
|||||||
|
|
||||||
// 共享文档下载
|
// 共享文档下载
|
||||||
function downloadFile(url) {
|
function downloadFile(url) {
|
||||||
window.open(url);
|
console.log(import.meta.env.VITE_FILE_PATH + url)
|
||||||
|
window.open(import.meta.env.VITE_FILE_PATH + url);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 继续学习
|
// 继续学习
|
||||||
|
|||||||
@@ -564,7 +564,8 @@ function whiteTypes(type) {
|
|||||||
|
|
||||||
// 共享文档下载
|
// 共享文档下载
|
||||||
function downloadFile(url) {
|
function downloadFile(url) {
|
||||||
window.open(url);
|
console.log(import.meta.env.VITE_FILE_PATH + url)
|
||||||
|
window.open(import.meta.env.VITE_FILE_PATH + url);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 继续学习
|
// 继续学习
|
||||||
|
|||||||
Reference in New Issue
Block a user