czh-20260605-去除面包屑导航,增加底部标识

This commit is contained in:
zhihao
2026-06-05 10:29:56 +08:00
parent 0040df63eb
commit 11125510af
5 changed files with 56 additions and 82 deletions
@@ -55,7 +55,7 @@
import { refreshCache, queryAllDictItems } from '/@/views/system/dict/dict.api';
import { DB_DICT_DATA_KEY } from '/src/enums/cacheEnum';
import { removeAuthCache, setAuthCache } from '/src/utils/auth';
import { getFileAccessHttpUrl } from '/@/utils/common/compUtils';
// import { getFileAccessHttpUrl } from '/@/utils/common/compUtils';
import { getRefPromise } from '/@/utils/index';
type MenuEvent = 'logout' | 'doc' | 'lock' | 'cache' | 'depart';
@@ -89,14 +89,14 @@
return { realname, avatar: avatar || headerImg, desc };
});
const getAvatarUrl = computed(() => {
let { avatar } = getUserInfo.value;
if (avatar == headerImg) {
return avatar;
} else {
return getFileAccessHttpUrl(avatar);
}
});
// const getAvatarUrl = computed(() => {
// let { avatar } = getUserInfo.value;
// if (avatar == headerImg) {
// return avatar;
// } else {
// return getFileAccessHttpUrl(avatar);
// }
// });
const [register, { openModal }] = useModal();
/**
@@ -179,7 +179,7 @@
prefixCls,
t,
getUserInfo,
getAvatarUrl,
// getAvatarUrl,
handleMenuClick,
getShowDoc,
register,