diff --git a/src/views/faceteach/FaceTeachSignUp.vue b/src/views/faceteach/FaceTeachSignUp.vue index 0bc26ee..b17b6d6 100644 --- a/src/views/faceteach/FaceTeachSignUp.vue +++ b/src/views/faceteach/FaceTeachSignUp.vue @@ -277,12 +277,12 @@ -
此课程无附件
-
-
- 下载 -
- +
+ 下载 +
@@ -372,9 +372,10 @@ const {activeName, enclosure, isAllowSign} = toRefs(state); const handleClick = (tab, event) => { console.log("附件", tab, event); }; +const fielPath = ref(import.meta.env.VITE_FILE_PATH); const download = (url) => { - // console.log('下载url',url) - window.open(url); + console.log('下载url',fielPath.value+url) + window.open(fielPath.value+url); }; const downloads = (url) => { ElMessage.warning("未在有效时间范围内,请耐心等待!");