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

feat: 选人组件支持自定义 apiOptions #416

Merged
merged 2 commits into from
Dec 3, 2021

Conversation

yiqingfeng
Copy link

@@ -92,6 +93,7 @@ class EmployeeField extends React.Component {
users: value.map(v => v.key),
disabledUsers,
enableAutoJumpDepart,
showRootOrg,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这样修改貌似是把以往showRootOrg 的逻辑完全反转,这是否会对其他人的业务逻辑造成影响?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我这边重新提供自定义 apiOptions 来做选人配置自定义

@yiqingfeng yiqingfeng changed the title fix: 修复选人组件搜索自己时数据错误,同时限制只能选本组织人员 https://github.com/salt-ui/saltui/i… feat: 选人组件支持自定义 apiOptions Dec 3, 2021
@eternalsky eternalsky merged commit 22431af into salt-ui:master Dec 3, 2021
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

Successfully merging this pull request may close these issues.

2 participants