mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-10-16 23:14:04 +00:00
wip(menu): perf menu
This commit is contained in:
@@ -65,6 +65,10 @@ const getIsHorizontal = computed(() => {
|
||||
return unref(getMenuMode) === MenuModeEnum.HORIZONTAL;
|
||||
});
|
||||
|
||||
const getIsMixMode = computed(() => {
|
||||
return unref(getMenuMode) === MenuModeEnum.INLINE && unref(getMenuType) === MenuTypeEnum.MIX;
|
||||
});
|
||||
|
||||
const getRealWidth = computed(() => {
|
||||
return unref(getCollapsed) ? unref(getMiniWidthNumber) : unref(getMenuWidth);
|
||||
});
|
||||
@@ -130,5 +134,6 @@ export function useMenuSetting() {
|
||||
getIsTopMenu,
|
||||
getMenuBgColor,
|
||||
getShowSidebar,
|
||||
getIsMixMode,
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user