mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-09 02:46:47 +08:00
feat:修改面授课下载
This commit is contained in:
@@ -420,16 +420,11 @@ const handleClick = (tab, event) => {
|
||||
const download = (url) => {
|
||||
console.log(
|
||||
"url2",
|
||||
window.location.protocol +
|
||||
import.meta.env.VITE_BOE_API_URL +
|
||||
import.meta.env.VITE_FILE_PATH +
|
||||
url
|
||||
import.meta.env.VITE_BOE_API_URL + import.meta.env.VITE_FILE_PATH + url
|
||||
);
|
||||
window.open(
|
||||
window.location.protocol +
|
||||
import.meta.env.VITE_BOE_API_URL +
|
||||
import.meta.env.VITE_FILE_PATH +
|
||||
url
|
||||
import.meta.env.VITE_BOE_API_URL + import.meta.env.VITE_FILE_PATH + url,
|
||||
"_top"
|
||||
);
|
||||
};
|
||||
const downloads = (url) => {
|
||||
|
||||
Reference in New Issue
Block a user