mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-06 09:26:46 +08:00
下载路径问题
This commit is contained in:
@@ -375,7 +375,8 @@ const handleClick = (tab, event) => {
|
||||
const fielPath = ref(import.meta.env.VITE_FILE_PATH);
|
||||
const download = (url) => {
|
||||
console.log('下载url',fielPath.value+url)
|
||||
window.open(fielPath.value+url);
|
||||
//window.open(fielPath.value+url);
|
||||
window.open(url);
|
||||
};
|
||||
const downloads = (url) => {
|
||||
ElMessage.warning("未在有效时间范围内,请耐心等待!");
|
||||
|
||||
Reference in New Issue
Block a user