release: update 3.9.1

This commit is contained in:
xiaoxian521
2022-12-02 20:20:50 +08:00
parent cb3d7cd552
commit cabf1f85ef
13 changed files with 109 additions and 79 deletions

View File

@@ -17,6 +17,8 @@ export function useNav() {
const pureApp = useAppStoreHook();
const routers = useRouter().options.routes;
const { wholeMenus } = storeToRefs(usePermissionStoreHook());
/** 平台`layout`中所有`el-tooltip`的`effect`配置,默认`light` */
const tooltipEffect = getConfig()?.TooltipEffect ?? "light";
/** 用户名 */
const username = computed(() => {
@@ -136,6 +138,7 @@ export function useNav() {
isCollapse,
pureApp,
username,
avatarsStyle
avatarsStyle,
tooltipEffect
};
}