From bef43237b0afc4c095be9de30b88dccafed28971 Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Wed, 15 Mar 2023 15:55:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=97=A7=E7=89=88=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=91=98=E7=95=8C=E9=9D=A2=E8=B7=B3=E8=BD=AC=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 4 +++- .env.prod | 4 +++- .env.release | 4 +++- src/components/NavLeft.vue | 3 ++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.env b/.env index 2843407d..d3d79ee2 100644 --- a/.env +++ b/.env @@ -36,4 +36,6 @@ VUE_APP_EXAM_DETAIL_URL=//u-pre.boe.com/mobile/pages/exam/exam?id= #h5的基本url VUE_APP_H5=//u-pre.boe.com/student-h5 #用户头像 -VUE_APP_AVATAR_PATH=/upload/ \ No newline at end of file +VUE_APP_AVATAR_PATH=/upload/ +# 旧版管理员界面 +VUE_APP_OLD_MANAGE=//u-pre.boe.com/resource/index.html \ No newline at end of file diff --git a/.env.prod b/.env.prod index 95f57361..0071937a 100644 --- a/.env.prod +++ b/.env.prod @@ -27,4 +27,6 @@ VUE_APP_H5=//u.boe.com/student-h5 #文件基础路径调试 只在生产做了变更 VUE_APP_FILE_PATH=/upload/boe/file/ #用户头像 -VUE_APP_AVATAR_PATH=/upload/ \ No newline at end of file +VUE_APP_AVATAR_PATH=/upload/ +# 旧版管理员界面 +VUE_APP_OLD_MANAGE=//u.boe.com/resource/index.html \ No newline at end of file diff --git a/.env.release b/.env.release index d6f1580a..358782c9 100644 --- a/.env.release +++ b/.env.release @@ -23,4 +23,6 @@ VUE_APP_EXAM_DETAIL_URL=//u.boe.com/mobile-release/pages/exam/exam?id= #h5的基本url VUE_APP_H5=//u.boe.com/student-h5-release #用户头像 -VUE_APP_AVATAR_PATH=/upload/ \ No newline at end of file +VUE_APP_AVATAR_PATH=/upload/ +# 旧版管理员界面 +VUE_APP_OLD_MANAGE=//u-pre.boe.com/resource/index.html \ No newline at end of file diff --git a/src/components/NavLeft.vue b/src/components/NavLeft.vue index 6737e480..ad43b991 100644 --- a/src/components/NavLeft.vue +++ b/src/components/NavLeft.vue @@ -436,7 +436,7 @@ src="../assets/images/navleft/review.png" /> - 旧版管理员界面 + 旧版管理员界面 @@ -807,6 +807,7 @@ export default { pagename: "字典管理", }, ], + oldManage: window.location.protocol + process.env.VUE_APP_OLD_MANAGE }); // console.log(state.openKeys, state.selectedKeys);