From ab7e74c582704024b093e85c398851343b0aeba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=9F=91=E8=9E=82?= Date: Fri, 27 Mar 2026 22:24:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E4=B8=AD=E7=9A=84=E6=96=87=E6=A1=A3/GitHub/?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=B8=8E=E5=B8=AE=E5=8A=A9=EF=BC=8C=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E8=B4=A6=E6=88=B7=E6=94=B9=E7=94=A8SwapHoriz=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/web-antd/src/layouts/basic.vue | 34 ++----------------- 1 file changed, 2 insertions(+), 32 deletions(-) diff --git a/ecom-dmb-frontend/apps/web-antd/src/layouts/basic.vue b/ecom-dmb-frontend/apps/web-antd/src/layouts/basic.vue index 0e4578f6..94bdfe43 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/layouts/basic.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/layouts/basic.vue @@ -6,7 +6,7 @@ import { computed, onMounted, ref, watch } from 'vue'; import { AuthenticationLoginExpiredModal } from '@vben/common-ui'; import { VBEN_DOC_URL, VBEN_GITHUB_URL } from '@vben/constants'; import { useWatermark } from '@vben/hooks'; -import { BookOpenText, CircleHelp, MdiGithub } from '@vben/icons'; +import { SwapHoriz, MdiGithub } from '@vben/icons'; import { BasicLayout, LockScreen, @@ -80,41 +80,11 @@ const menus = computed(() => { handler: () => { switchAccountModalRef.value?.open(); }, - icon: MdiGithub, // 临时使用现有图标 + icon: SwapHoriz, text: '切换账户', }); } - menuItems.push( - { - handler: () => { - openWindow(VBEN_DOC_URL, { - target: '_blank', - }); - }, - icon: BookOpenText, - text: $t('ui.widgets.document'), - }, - { - handler: () => { - openWindow(VBEN_GITHUB_URL, { - target: '_blank', - }); - }, - icon: MdiGithub, - text: 'GitHub', - }, - { - handler: () => { - openWindow(`${VBEN_GITHUB_URL}/issues`, { - target: '_blank', - }); - }, - icon: CircleHelp, - text: $t('ui.widgets.qa'), - }, - ); - return menuItems; });