From a4eb626a18a9c185f84dc3296be49a4ec417d215 Mon Sep 17 00:00:00 2001 From: lixg Date: Tue, 28 Feb 2023 10:54:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- .env.boe | 2 +- .env.prod | 2 +- .env.release | 2 +- .env.test | 2 +- src/App.vue | 2 +- src/components/PathDetailImage.vue | 26 +++++++++++++++++---- src/views/projectdetails/ProjectPath.vue | 2 +- src/views/projectdetails/projectDetails.vue | 20 ++++++++++++---- 9 files changed, 44 insertions(+), 16 deletions(-) diff --git a/.env b/.env index 7d3ffd4..62cc23c 100644 --- a/.env +++ b/.env @@ -16,7 +16,7 @@ VITE_BOE_API_URL=https://u-pre.boe.com VITE_TASK_WHITE_TYPE=-8-,-12-,-13- # boe域名 -VUE_APP_BOE_API_URL=//u-pre.boe.com +VITE_BOE_BASE_URL=//u-pre.boe.com #评论上传图片 VITE_IMG=/manageApi VITE_BASE_FILE_PATH=/fe-student-h5/upload \ No newline at end of file diff --git a/.env.boe b/.env.boe index aa80821..0501c79 100644 --- a/.env.boe +++ b/.env.boe @@ -8,6 +8,6 @@ VITE_BOE_TEST_OUT_DETAIL_URL=//u-pre.boe.com/api/b1/tale/do-quiz?quizKid= VITE_BOE_EXAM_DETAIL_URL=//u-pre.boe.com/mobile/pages/exam/exam?id= VITE_BOE_API_URL=https://u-pre.boe.com -VUE_APP_BOE_API_URL=//u-pre.boe.com +VITE_BOE_BASE_URL=//u-pre.boe.com VITE_IMG=/manageApi \ No newline at end of file diff --git a/.env.prod b/.env.prod index 4320f82..5d845d0 100644 --- a/.env.prod +++ b/.env.prod @@ -13,6 +13,6 @@ VITE_BOE_PATH_DETAIL_URL=//u.boe.com/pc/forward?to=/student-h5 VITE_BOE_API_URL=https://u.boe.com VITE_TASK_WHITE_TYPE=-8-,-12-,-13- -VUE_APP_BOE_API_URL=//u.boe.com +VITE_BOE_BASE_URL=//u.boe.com VITE_IMG=/manageApi \ No newline at end of file diff --git a/.env.release b/.env.release index a74ee91..bafc02c 100644 --- a/.env.release +++ b/.env.release @@ -10,6 +10,6 @@ VITE_BOE_EXAM_DETAIL_URL=//u.boe.com/pc-release/mobile/pages/exam/exam?id= VITE_BOE_PATH_DETAIL_URL=//u.boe.com/pc-release/forward?to=/student-h5-release VITE_BOE_API_URL=https://u.boe.com -VUE_APP_BOE_API_URL=//u.boe.com +VITE_BOE_BASE_URL=//u.boe.com VITE_IMG=/manageApi-release \ No newline at end of file diff --git a/.env.test b/.env.test index 6895973..ca16bbf 100644 --- a/.env.test +++ b/.env.test @@ -3,4 +3,4 @@ VITE_BASE_API=/manageApi VITE_OUTPUT_DIR=./docker/dist VITE_BOE_API_URL=//u-pre.boe.com -VUE_APP_BOE_API_URL=//u-pre.boe.com \ No newline at end of file +VITE_BOE_BASE_URL=//u-pre.boe.com \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index fd92786..58810a6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,7 +27,7 @@ import { GET_USER_INFO } from "@/api/ThirdApi"; import { getCookie } from "@/api/utils"; import { USER_INFO } from "@/api/api"; -console.log("版本1.2.3------------"); +console.log("版本1.2.5------------"); const store = useStore(); const router = useRouter(); diff --git a/src/components/PathDetailImage.vue b/src/components/PathDetailImage.vue index c64cff1..9530c87 100644 --- a/src/components/PathDetailImage.vue +++ b/src/components/PathDetailImage.vue @@ -29,7 +29,7 @@