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