From efff0eba39b5706d77850b9a8122425fd076ea9b Mon Sep 17 00:00:00 2001 From: chenxing Date: Thu, 10 Sep 2026 11:58:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E6=8E=A5=E5=85=A5=20ysch=20=E5=8D=95=20svg+=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=85=A5=E5=8F=A3=E4=B8=8E=E7=99=BB=E5=87=BA=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E4=BF=AE=E8=AE=A2=EF=BC=9A=E4=BB=8E=20YschIcons/svg?= =?UTF-8?q?=20=E5=A4=8D=E5=88=B6=20logout.svg=E3=80=81shouye.svg=20?= =?UTF-8?q?=E8=BF=9B=20src/assets/icons=EF=BC=88=E9=9B=AA=E7=A2=A7?= =?UTF-8?q?=E5=9B=BE=E6=A0=B9=E7=9B=AE=E5=BD=95=E6=96=87=E4=BB=B6=E5=8D=B3?= =?UTF-8?q?=20#icon-{name}=EF=BC=89=EF=BC=8C=E9=80=80=E5=87=BA=E4=B8=8E?= =?UTF-8?q?=E5=A4=B4=E9=83=A8=E6=8C=89=E9=92=AE=E6=94=B9=E7=94=A8=E7=8E=B0?= =?UTF-8?q?=E6=88=90=20SvgIcon=20=E6=B8=B2=E6=9F=93=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E4=BE=9D=E8=B5=96=20index.html=20=E5=BC=95=E5=85=A5?= =?UTF-8?q?=E7=9A=84=20bschload.min.js=20=E5=B9=B3=E5=8F=B0=20iconfont=20?= =?UTF-8?q?=E5=AD=97=E4=BD=93=EF=BC=88=E4=B8=8E=20Notice=20=E5=90=8C?= =?UTF-8?q?=E5=BD=A2=E5=90=8C=E5=B0=BA=E5=AF=B8=EF=BC=9A=E9=80=80=E5=87=BA?= =?UTF-8?q?=2018px=E3=80=81=E5=A4=B4=E9=83=A8=2022px=EF=BC=8C=E5=9D=87?= =?UTF-8?q?=E7=99=BD=E8=89=B2=EF=BC=89=EF=BC=9B=20=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=20inline=20=E5=B8=A6=E5=9F=BA=E7=BA=BF=E9=99=8D=E9=83=A8?= =?UTF-8?q?=E7=A9=BA=E9=9A=99=EF=BC=8C=E6=96=B0=E5=A2=9E=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=20scoped=20=E8=A1=A5=20display:block=20=E4=B8=8E=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E6=8C=89=E9=92=AE=20flex=20=E5=B1=85=E4=B8=AD?= =?UTF-8?q?=EF=BC=88layout.css=20=E7=9A=84=20.logout=20i/.icon-btn=20i=20?= =?UTF-8?q?=E5=8F=AA=E5=91=BD=E4=B8=AD=20=EF=BC=8C=E4=B8=8D=E6=94=B9?= =?UTF-8?q?=E5=8E=8B=E7=BC=A9=E4=BA=A7=E7=89=A9=EF=BC=89=EF=BC=9B=E5=A4=B4?= =?UTF-8?q?=E9=83=A8=E3=80=8C=E5=B8=B8=E7=94=A8=E5=BA=94=E7=94=A8=E3=80=8D?= =?UTF-8?q?=E6=94=B9=E3=80=8C=E8=BF=94=E5=9B=9E=E9=A6=96=E9=A1=B5=E3=80=8D?= =?UTF-8?q?=EF=BC=88=E6=9C=AC=E9=A1=B9=E7=9B=AE=20appList=20=E5=AE=9E?= =?UTF-8?q?=E4=B8=BA=20store.modules=EF=BC=8Cmenu.ts=20=E6=97=A0=20url/ico?= =?UTF-8?q?n=20=E9=94=AE=EF=BC=8C=E9=9D=A2=E6=9D=BF=E6=B8=B2=E6=9F=93=20hr?= =?UTF-8?q?ef=3D"undefined"=20=E5=B1=9E=E5=9D=8F=E5=85=A5=E5=8F=A3?= =?UTF-8?q?=EF=BC=9B=E9=9D=A2=E6=9D=BF=20DOM=20=E4=B8=8E=20showPanel/isPan?= =?UTF-8?q?el=20=E4=BF=9D=E7=95=99=E4=BB=85=E5=A4=B1=E5=8E=BB=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=EF=BC=89=EF=BC=9BlinkHomePage=20=E4=BB=85=E6=94=B9?= =?UTF-8?q?=E7=8B=AC=E7=AB=8B=20Web=20=E5=88=86=E6=94=AF=20URL=20/BschHome?= =?UTF-8?q?=E2=86=92/userhome/front/index.html=EF=BC=88=E7=BA=BF=E4=B8=8A?= =?UTF-8?q?=20BschHome=20=E5=AE=9E=E6=B5=8B=20404=EF=BC=89=EF=BC=8C?= =?UTF-8?q?=E5=B5=8C=E5=85=A5=E6=80=81=20BschLoadUtil.goBackDesktop()=20?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E5=8E=9F=E6=A0=B7=E4=BF=9D=E7=95=99=EF=BC=9B?= =?UTF-8?q?=E7=99=BB=E5=87=BA=E8=B7=AF=E7=94=B1=20/cas/logout=E2=86=92/log?= =?UTF-8?q?out=20=E4=B8=8E=20Notice/UserhomeFront=20=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=EF=BC=88/cas/logout=20=E5=9C=A8=20SSO=20=E4=BE=A7=E6=97=A0?= =?UTF-8?q?=E6=95=88=EF=BC=89=EF=BC=9Bbuild=20=E9=80=9A=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/logout.svg | 1 + src/assets/icons/shouye.svg | 1 + src/components/layout.vue | 33 +++++++++++++++++++++++++++------ 3 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 src/assets/icons/logout.svg create mode 100644 src/assets/icons/shouye.svg diff --git a/src/assets/icons/logout.svg b/src/assets/icons/logout.svg new file mode 100644 index 0000000..2e3a808 --- /dev/null +++ b/src/assets/icons/logout.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/shouye.svg b/src/assets/icons/shouye.svg new file mode 100644 index 0000000..f685b5d --- /dev/null +++ b/src/assets/icons/shouye.svg @@ -0,0 +1 @@ + diff --git a/src/components/layout.vue b/src/components/layout.vue index a7a1261..93f0dc8 100644 --- a/src/components/layout.vue +++ b/src/components/layout.vue @@ -4,6 +4,7 @@ import { LayoutData } from "@/types/Basics"; import { useRoute, useRouter } from "vue-router"; import { Message } from "view-ui-plus"; import useCurrentInstance from "@/utils/hook/useCurrentInstance"; +import SvgIcon from "@/components/SvgIcon.vue"; let props = defineProps<{ layoutData: LayoutData }>(); const reload: Function = inject("reload") || new Function("console.error('empty')"); @@ -141,7 +142,7 @@ const linkUserInfo = () => { }; const logout = () => { let url = window.location.href; - url = "/cas/logout?service=" + url; + url = "/logout?service=" + url; window.location.href = ssoHost + url; }; const childChange = (index: number) => { @@ -155,7 +156,8 @@ function linkHomePage() { if (!bschUtil.getIsSelf()) { bschUtil.goBackDesktop(); } else { - window.location.href = baseHost + "/BschHome/front/index.html"; + // 旧 BschHome 已下线(线上 404),首页统一指向用户中心 userhome + window.location.href = baseHost + "/userhome/front/index.html"; } } @@ -164,8 +166,8 @@ function linkHomePage() {
-
- +
+
@@ -178,7 +180,7 @@ function linkHomePage() {
- +
@@ -248,7 +250,7 @@ function linkHomePage() { + +