mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-23 23:59:19 +08:00
fix: 修复切换账户图标SwapHoriz不存在的问题,改用lucide:arrow-left-right
This commit is contained in:
@@ -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: '切换账户',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user