Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@imedx/ics-imedx-address-cascader
Advanced tools
@[toc] 版本更新说明
[ 2023/12/16 ] 初始化不请求接口 打开下拉框才请求接口【解决电子遍历请求接口耗时】
[ 0.0.3-beta.0 ] 1.详细地址是否必填 2.默认显示医院所在地(例如:省份等)
[ 0.0.2 ] 1.传值格式改变(增加detailAddress) 2.增加确定按钮 3.少数据多等级处理等
这是一个地址组件
npm i @imedx/ics-imedx-address-cascader # 安装包
import AddressCascaderApi from '@imedx/ics-imedx-address-cascader'
Vue.use(AddressCascaderApi)
<AddressCascaderApi
v-model="value1"
:clearable='clearable'
:level="level"
:detailed-address-required="detailedAddressRequired"
:detailed-address-hidden="detailedAddressHidden"
:show-hospital-in-address="showHospitalInAddress"
@change='changeHandler'/>
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
size | 尺寸 | String | mini/small/medium/large | medium |
clearable | 是否可以清空选项 | boolean | - | false |
disabled | 是否禁用 | boolean | - | false |
level | 等级 | Number | - | 5 |
detailedAddressRequired | 详细地址是否必填 | boolean | - | false |
detailedAddressHidden | 详细地址是否隐藏 | boolean | - | false |
showHospitalInAddress | 默认显示医院所在地(例如:省份等) | boolean | - | false |
value1: { addressIdList: ['22', '05', '21', '109', '204'], // 地址数组
hospitalInAddress: ['22'], //默认显示医院所在省份(当没有回显数据时,即addressIdList:[])
detailedAddress: 'rrrr' // 详细地址
}
事件名 | 说明 | 参数 |
---|---|---|
change | 选中值发生变化时触发 | ({addressIdList: [], addressNameList: [], addressId: "", addressName: ""}) |
FAQs
The npm package @imedx/ics-imedx-address-cascader receives a total of 3 weekly downloads. As such, @imedx/ics-imedx-address-cascader popularity was classified as not popular.
We found that @imedx/ics-imedx-address-cascader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.