feat:logo、默认头像更换

This commit is contained in:
Xwen
2024-01-03 10:48:28 +08:00
parent ffaa3153b3
commit a78c2d805d
7 changed files with 5 additions and 5 deletions

View File

@@ -63,14 +63,14 @@ const userInfo = reactive({
level: "",
userLimit: "",
});
const iconUrl = ref("/favicon.ico");
const iconUrl = ref("/acquiesce.png");
const iconUrlHandler = (icon) => {
if (
userInfo.icon == null ||
userInfo.icon == undefined ||
userInfo.icon == ""
) {
return "/favicon.ico";
return "/acquiesce.png";
} else {
return import.meta.env.VITE_APP_BASEAPI + "/file/" + icon;
}