@@ -55,7 +55,7 @@
<el-dropdown :show-timeout="70" :hide-timeout="50" @command="onHandleCommandClick">
<span class="layout-navbars-breadcrumb-user-link">
<img :src="userInfos.avatar" class="layout-navbars-breadcrumb-user-link-photo mr5" />
- {{ userInfos.realName == '' ? userInfos.account: userInfos.realName }}
+ {{ userInfos.realName == '' ? userInfos.account : userInfos.realName }}
<el-icon class="el-icon--right">
<ele-ArrowDown />
</el-icon>
@@ -34,7 +34,7 @@ export const useUserInfo = defineStore('userInfo', {
this.userInfos = userInfos;
}
},
- async setConstList() {
+ async setConstList() {
// 存储用户信息到浏览器缓存
if (Session.get('constList')) {
this.constList = Session.get('constList');