找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 3567|回复: 1

获取登录用户的信息

[复制链接]
发表于 2022-10-24 21:59:31 | 显示全部楼层 |阅读模式
this.$store.state.user.id(1)
this.$store.state.user.name(管理员)
this.$store.state.user.no(1)
this.$store.state.user.loginName(admin)
this.$store.state.user.office.id(6bc43c2a6cd44550a011bd160b78d92d)
this.$store.state.user.office.name(行政部)
this.$store.state.user.company.id(1504779078102695938)
this.$store.state.user.company.name (海南公司)
this.$store.state.user.mobile (189xxxxxxxx)

回复

使用道具 举报

 楼主| 发表于 2022-10-24 22:00:16 | 显示全部楼层
\jp-ui\src\store\modules\user.js
增加:15 mobile: ''
           38 state.mobile = user.mobile
调用: this.$store.state.user.mobile
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|企业数字化人才转型教练中心 ( 湘ICP备15006648号-1 )

GMT+8, 2024-10-23 07:16 , Processed in 0.062964 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表