mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 18:29:20 +08:00
fix: 移除用户菜单中的文档/GitHub/问题与帮助,切换账户改用SwapHoriz图标
This commit is contained in:
@@ -6,7 +6,7 @@ import { computed, onMounted, ref, watch } from 'vue';
|
|||||||
import { AuthenticationLoginExpiredModal } from '@vben/common-ui';
|
import { AuthenticationLoginExpiredModal } from '@vben/common-ui';
|
||||||
import { VBEN_DOC_URL, VBEN_GITHUB_URL } from '@vben/constants';
|
import { VBEN_DOC_URL, VBEN_GITHUB_URL } from '@vben/constants';
|
||||||
import { useWatermark } from '@vben/hooks';
|
import { useWatermark } from '@vben/hooks';
|
||||||
import { BookOpenText, CircleHelp, MdiGithub } from '@vben/icons';
|
import { SwapHoriz, MdiGithub } from '@vben/icons';
|
||||||
import {
|
import {
|
||||||
BasicLayout,
|
BasicLayout,
|
||||||
LockScreen,
|
LockScreen,
|
||||||
@@ -80,41 +80,11 @@ const menus = computed(() => {
|
|||||||
handler: () => {
|
handler: () => {
|
||||||
switchAccountModalRef.value?.open();
|
switchAccountModalRef.value?.open();
|
||||||
},
|
},
|
||||||
icon: MdiGithub, // 临时使用现有图标
|
icon: SwapHoriz,
|
||||||
text: '切换账户',
|
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;
|
return menuItems;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user