perf:更改头部头像
This commit is contained in:
BIN
Yi.Bbs.Vue3/src/assets/common/icons/logo.ico
Normal file
BIN
Yi.Bbs.Vue3/src/assets/common/icons/logo.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -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%;
|
||||
|
||||
@@ -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 = "";
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user