MrShi
2024-11-04 b6fde711bf33cede4cb84f85146c32b0c0c61aa5
company/src/components/common/CommonHeader.vue
@@ -101,6 +101,11 @@
      if (userInfo == null) {
        return ''
      }
      if (userInfo.type === 1 && userInfo.company != null && userInfo.company.name.trim().length > 0) {
        if (userInfo.company.username === userInfo.username){
          return userInfo.company.name
        }
      }
      if (userInfo.realname != null && userInfo.realname.trim().length > 0) {
        return userInfo.realname
      }