Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@aligov/block-tree
Advanced tools
@aligov/block-tree
block-tree区块,可用于左侧节点可选择树,右侧根据节点变化进行联动的table/其他的场景。
功能:
tnpm install @aligov/block-tree --save
成员 | 说明 | 类型 | 默认值 |
---|---|---|---|
hasSearch | 是否有搜索框 | boolean | false |
hasAdd | 是否有添加按钮 | boolean | false |
addBtnProps | 添加按钮props | IButtonProps | { type:'primery' } |
addBtnText | 添加按钮文案 | string | 添加 |
defaultNode | 默认选中节点 | node | 第一个节点 |
treeStyle | 树样式 | CSSProperties | { margin-right: 10} |
loadData | 数据源异步加载函数 | (node,pos)=>Promise | func.noop |
disabled | 禁用 | Boolean | false |
dataSource | 数据源 | [{ label: '节点名', children:[], hasAdd:true,hasDelete:true,key:'1' }] | [] |
onChange | 节点改变时回调函数 | (node: any) => any | func.noop |
onAdd | 添加节点回调函数 | (node?:any)=>any | func.noop |
onDelete | 删除节点回调函数 | (node:any)=>any | func.noop |
onEdit | 边界节点回调函数 | (node:any)=>any | func.noop |
FAQs
tree区块
We found that @aligov/block-tree demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.