Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
ac-selector
Advanced tools
用友中台选人组件,目前只有智能产品部-消息组和预警在用。目前只支持从服务端获取数据。
npm i ac-Selector
import Selector from 'ac-Selector'
import 'ac-Selector/build/Selector.css'
参数 | 说明 | 类型 | 是否必填 | 默认值 | 返回值 |
---|---|---|---|---|---|
show | 是否显示模态框 | boolean | 是 | false | 无 |
onConfirm | 确认回调函数 | func | 是 | () => {} | 选中的用户 |
onClose | 取消回调函数 | func | 是 | () => {} | 无 |
remoteUserUrl | 获取用户列表url | string | 是 | 空 | 无 |
remoteRoleUrl | 获取角色列表url | string | 是 | 空 | 无 |
onConfirm
回调函数参数说明 {
id:'用户id',
name:'用户名',
dept:'用户部门',
email:'用户邮箱',
phone:'手机号',
type:'所属类型(用户、角色、组织或规则)',
typeCode: '角色类型编码'
}
{
roleId: '角色id',
roleCode: '角色code',
roleName: '角色名称',
type: '所属类型(用户、角色、组织或规则)',
typeCode: '角色类型编码'
}
FAQs
The npm package ac-selector receives a total of 10 weekly downloads. As such, ac-selector popularity was classified as not popular.
We found that ac-selector demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.