diff --git a/.env b/.env index f30153d..1505861 100644 --- a/.env +++ b/.env @@ -31,4 +31,4 @@ VITE_FILE_PATH=/upload/ #h5的基本url VITE_BOE_HOME=//u-pre.boe.com/mobile/pages/index/index # 学习任务页 -VITE_BOE_STUDY=https://u-pre.boe.com/mobile/pages/study/index \ No newline at end of file +VITE_BOE_STUDY=//u-pre.boe.com/mobile/pages/study/index \ No newline at end of file diff --git a/.env.prod b/.env.prod index 036b4e4..b1d3c99 100644 --- a/.env.prod +++ b/.env.prod @@ -19,4 +19,5 @@ VITE_IMG=/manageApi #h5的基本url VITE_BOE_HOME=//u.boe.com/mobile/pages/index/index -VITE_BOE_STUDY=https://u.boe.com/mobile/pages/study/index \ No newline at end of file +VITE_BOE_STUDY=//u.boe.com/mobile/pages/study/index +VITE_FILE_PATH=/upload/boe/file \ No newline at end of file diff --git a/.env.release b/.env.release index d89cb62..9e21081 100644 --- a/.env.release +++ b/.env.release @@ -16,4 +16,4 @@ VITE_IMG=/manageApi-release #h5的基本url VITE_BOE_HOME=//u.boe.com/mobile-release/pages/index/index -VITE_BOE_STUDY=https://u.boe.com/mobile-release/pages/study/index \ No newline at end of file +VITE_BOE_STUDY=//u.boe.com/mobile-release/pages/study/index \ No newline at end of file diff --git a/src/components/PathDetailImage.vue b/src/components/PathDetailImage.vue index b1952eb..a16ef96 100644 --- a/src/components/PathDetailImage.vue +++ b/src/components/PathDetailImage.vue @@ -324,9 +324,6 @@ function toDetail(item, i) { function close() { visiable.value = false; } -function toIndex() { - window.location.href = import.meta.env.VITE_BOE_API_URL; -}