html里面使用

{{($loginAuth.getUser()||{}).userId}}

$loginAuth.getUser() 完整结果

 {
  "userId": "账号ID",
  "roleId": [
    "角色Id"
  ],
  "depId": [],
  "pushName": "发布名称",
  "jobId": [],
  "sysId": [],
  "areaCode": [],
  "developer": 1,
  "mergeUserId": [],
  "headName": "开发",
  "headIcon": "头像"
}
文档更新时间: 2021-08-03 08:00   作者:admin