fix: 禁止移动端缩放、对话头像更改
This commit is contained in:
@@ -7,9 +7,9 @@ const userRoles = userStore.userInfo?.roles ?? [];
|
||||
const isUserVip = userRoles.some((role: any) => role.roleCode === 'YiXinAi-Vip');
|
||||
|
||||
// 用户头像
|
||||
const userProfilePicture = userStore.userInfo?.user?.icon ? `${import.meta.env.VITE_WEB_BASE_API}/file/${userStore.userInfo.user.icon}` : `@/assets/images/user.png`;
|
||||
const userProfilePicture = userStore.userInfo?.user?.icon ? `${import.meta.env.VITE_WEB_BASE_API}/file/${userStore.userInfo.user.icon}` : `/images/user.png`;
|
||||
// 系统头像
|
||||
const systemProfilePicture = `@/assets/images/user.png`;
|
||||
const systemProfilePicture = `/images/logo.png`;
|
||||
|
||||
export {
|
||||
isUserVip,
|
||||
|
||||
Reference in New Issue
Block a user