perf:更改头部头像

This commit is contained in:
Xwen
2023-12-16 11:28:04 +08:00
parent 15dc3f469f
commit 7b70371ffa
4 changed files with 5 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -2,7 +2,7 @@
<div class="header">
<div class="logo" @click="enterIndex">
<div class="image">
<img class="img-icon" src="@/assets/common/icons/dog.svg" />
<img class="img-icon" src="@/assets/common/icons/logo.ico" />
</div>
<div class="text">{{ configStore.name }}</div>
</div>
@@ -139,8 +139,8 @@ const isLogin = getToken("AccessToken") ? true : false;
display: flex;
align-items: center;
.image {
width: 30px;
height: 30px;
width: 25px;
height: 25px;
img {
width: 100%;
height: 100%;

View File

@@ -111,7 +111,7 @@ const useUserStore = defineStore("user", {
this.roles = [];
this.permissions = [];
this.name = "未登录";
this.icon = "/src/assets/common/icons/login.svg";
this.icon = "/login.svg";
this.userName = "";
this.id = "";
},