company/src/components/common/CommonHeader.vue
@@ -101,14 +101,13 @@ if (userInfo == null) { return '' } if(userInfo.type === 1){ if (userInfo.company != null && userInfo.company.name.trim().length > 0) { if (userInfo.type === 1 && userInfo.company != null && userInfo.company.name.trim().length > 0) { if (userInfo.company.username === userInfo.username){ return userInfo.company.name } }else{ } if (userInfo.realname != null && userInfo.realname.trim().length > 0) { return userInfo.realname } } return userInfo.username }