fix: some bug

This commit is contained in:
xiaoxian521
2022-04-10 21:13:34 +08:00
parent 91df7349f4
commit f3f9c12edf
7 changed files with 10 additions and 38 deletions

View File

@@ -12,7 +12,7 @@ import { useEpThemeStoreHook } from "/@/store/modules/epTheme";
export function useNav() {
const pureApp = useAppStoreHook();
// 用户名
const usename: string = storageSession.getItem("info")?.username;
const username: string = storageSession.getItem("info")?.username;
// 设置国际化选中后的样式
const getDropdownItemStyle = computed(() => {
@@ -112,7 +112,7 @@ export function useNav() {
resolvePath,
isCollapse,
pureApp,
usename,
username,
getDropdownItemStyle
};
}