Skip to content

Commit

Permalink
Fix username display issue in user.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyunchong committed May 19, 2024
1 parent 30569cc commit cfac625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/layout/user.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default {
created() {
const { user } = this.$store.state
this.nickname = user?.nickname ? user.nickname : '佚名'
this.username = user?.username ? user.username : '未登录'
this.username = user?.username ? user.username : ''
this.groupName = user?.groupName ? user.groupName : '超级管理员'
},
methods: {
Expand Down

0 comments on commit cfac625

Please sign in to comment.