Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
ac-mobile-locale
Advanced tools
手机号国际化
$ ynpm install @yonyou/ac-mobile-locale --save-dev
引入
import AcMobileLocale from '@yonyou/ac-mobile-locale';
样式引入
import '@yonyou/ac-mobile-locale/dist/index.css';
参数 | 说明 | 类型 | 返回值 | 是否必填 |
---|---|---|---|---|
className | 容器样式 | string | --- | 否 |
disabled | 是否可用 | bool | --- | --- |
accountInfo | 语种列表 | array | --- | 否 |
selectContryPhoneCode | 默认显示语种 | object | --- | 否 |
mobile | 默认显示手机号 | string | --- | 否 |
mobileChangeHandle | 改变语种和输入手机号改变 | function | arg1:输入的手机号,arg2: 选中的语种 | 否 |
placeholder | 输入框的placeholder | string | -- | 否 |
errorMessage | form表单提交错误时的报错提示 | string | -- | 否 |
inputId | 输入框的key 默认是mobile | string | -- | 否 |
form | 传入form需要表单校验,否则不需要校验 | string | -- | 否 |
暂无
FAQs
## 何时使用
The npm package ac-mobile-locale receives a total of 2 weekly downloads. As such, ac-mobile-locale popularity was classified as not popular.
We found that ac-mobile-locale demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.