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 94bdfe43..bd168e6c 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,8 @@ 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 { SwapHoriz, MdiGithub } from '@vben/icons'; +import { MdiGithub } from '@vben/icons'; +import { createIconifyIcon } from '@vben/icons'; import { BasicLayout, LockScreen, @@ -71,6 +72,9 @@ onMounted(() => { // 切换账户模态框引用 const switchAccountModalRef = ref(); +// 切换账户图标 +const SwitchAccountIcon = createIconifyIcon('lucide:arrow-left-right'); + const menus = computed(() => { const menuItems = []; @@ -80,7 +84,7 @@ const menus = computed(() => { handler: () => { switchAccountModalRef.value?.open(); }, - icon: SwapHoriz, + icon: SwitchAccountIcon, text: '切换账户', }); }