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

我的部门节点中 看不到我的部门 #968

Open
wongzeqi opened this issue Dec 29, 2023 · 3 comments
Open

我的部门节点中 看不到我的部门 #968

wongzeqi opened this issue Dec 29, 2023 · 3 comments

Comments

@wongzeqi
Copy link

版本号:
问题描述:
截图&代码:

用户登录是存在部门的,但是在我的部门界面找不到部门数据 我的节点叫部门管理是我改了菜单名

image

点击搜索 进入这个方法 从登录信息中 并没有获取到部门ids

image

在登录接口中给 LoginUser对象设置 deptids 好像也不好用 应该是没有从token中解析出deptids

image

目前先这么处理了

image

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

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

image

@wongzeqi
Copy link
Author

image 感觉这种方法算是投机取巧了 。 最好还是能从token中解析出来是最好的 但是如果还是没解析到 查一下也不为过

@citynook
Copy link

citynook commented Mar 5, 2024

@wongzeqi 你把登录用户设置为部门的管理者,应该就可以看到我的部门了

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

2 participants