927 B
927 B
title, description, type, group, menuName, icon, order
| title | description | type | group | menuName | icon | order |
|---|---|---|---|---|---|---|
| BarCode 条形码 | 0 | ⚙ 组件 | BarCode 条形码 | 62 |
基本用法
{
"type": "barcode",
"value": "amis"
}
条形码配置
通过 options 属性配置,具体请参考这里,比如
{
"type": "barcode",
"value": "123",
"options": {
"format": "pharmacode",
"lineColor": "#0aa",
"width": "4",
"height": "40",
}
}
属性表
| 属性名 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| className | string |
外层 CSS 类名 | |
| value | string |
显示的颜色值 | |
| name | string |
在其他组件中,时,用作变量映射 |