Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

给用户配置多个租户,多个部门,登录的时候没有提示选择租户和部门 #453

Closed
RelaxAndNotIndulge opened this issue Apr 9, 2023 · 2 comments

Comments

@RelaxAndNotIndulge
Copy link

版本号:3.5.0
问题描述:

两个问题:1、在用户管理列表,找到admin用户,编辑,关闭,编辑,关闭,这里租户回显就多出来了,事实上我只有2个租户;
2、我在这里给admin设置了2个租户,2个部门,但是登录的时候没有提示我选择租户,也没有提示我选择部门,这样是不是不对??另外新建一个用户测试,还是有同样的问题

截图&代码:

image

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
@zhangdaiscott
Copy link
Member

ws

@1298191366
Copy link

1298191366 commented Apr 10, 2023

问题1:已修复,待新版本发布
问题2:部门未复现,租户目前是默认租户,您可以在登录之后自动选择租户
部门问题:
请查看用户表里面的orgCode是否为空,目前是选择完一次就不会再次出现了
image
新建的用户
2
设置部门
3
再次登录
4
如果已经登录过的可以点击头像选择切换部门即可,支持部门和租户的切换
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants