Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@beisen-platform/area-selector
Advanced tools
cnpm install 或 npm install cnpm使用教程
npm run dev (开发环境打包 port:8080)
npm run test (测试用例)
npm run build (生产环境打包)
{
data: AreaData,
isSingleSelect: false, //单多选
totalCount: 99, // 可选总数
allLevelDisplay:true, //是否显示所有级别,默认true
allowContainsChildren: true, // 选中父级默认选中子集,且子集无法取消勾选,仅在多选状态下生效
hiddenTip:false, //ToolTip的hidden字段,默认false
sideTip:false, //ToolTip的side字段,默认false
defaultResults: [ // 默认选中
{
name: '全国',
id: 1
},
{
id: 3702,
name: '青岛市'
}
],
sureClick: function (data) {
console.log(data);
},
cancelClick: function () {
console.log(11)
}
}
1.安装npm组件包
npm install @beisen/area-selector --save-dev
2.引用组件
import AreaSelect from "@beisen/area-selector"
传入参数
该参数为上述参数,传入方式使用: {...参数}
class Demo extends Component{
render () {
const _data = {
data: AreaData,
isSingleSelect: false,
totalCount: 99,
defaultResults: [
{
name: '全国',
id: 1
},
{
id: 3702,
name: '青岛市'
}
],
sureClick: function (data) {
console.log(data);
},
cancelClick: function () {
console.log(11)
}
}
return (
<div>
<App {..._data}/>
</div>
)
}
} render(, document.getElementById('content')) ```
FAQs
The npm package @beisen-platform/area-selector receives a total of 7 weekly downloads. As such, @beisen-platform/area-selector popularity was classified as not popular.
We found that @beisen-platform/area-selector 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.