ai牛逼
This commit is contained in:
@@ -1,7 +1,49 @@
|
||||
{
|
||||
"id": "RadioSelect",
|
||||
"name": "单选器",
|
||||
"icon": "⭕",
|
||||
"description": "用于选择单个选项的表单组件",
|
||||
"props": {
|
||||
"options": ["选项1", "选项2", "选项3"]
|
||||
"template": "template.html",
|
||||
"defaultSpan": 12,
|
||||
"metadata": {
|
||||
"span": {
|
||||
"label": "宽度",
|
||||
"type": "number",
|
||||
"min": 1,
|
||||
"max": 24,
|
||||
"target": "el-col",
|
||||
"attr": ":span"
|
||||
},
|
||||
"label": {
|
||||
"label": "标签",
|
||||
"type": "text",
|
||||
"target": "el-form-item",
|
||||
"attr": "label"
|
||||
},
|
||||
"size": {
|
||||
"label": "尺寸",
|
||||
"type": "select",
|
||||
"options": ["", "medium", "small", "mini"],
|
||||
"target": "el-radio-group",
|
||||
"attr": "size"
|
||||
},
|
||||
"disabled": {
|
||||
"label": "禁用",
|
||||
"type": "boolean",
|
||||
"target": "el-radio-group",
|
||||
"attr": "disabled"
|
||||
},
|
||||
"fill": {
|
||||
"label": "填充色",
|
||||
"type": "color",
|
||||
"target": "el-radio-group",
|
||||
"attr": "fill"
|
||||
},
|
||||
"textColor": {
|
||||
"label": "文字颜色",
|
||||
"type": "color",
|
||||
"target": "el-radio-group",
|
||||
"attr": "text-color"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user