mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 05:48:17 +00:00
update ResponsiveGrid and ResponsiveGrid.cell by Jeffery
This commit is contained in:
parent
790a0fb49a
commit
8fb7839e30
@ -12395,11 +12395,6 @@
|
|||||||
"subName": ""
|
"subName": ""
|
||||||
},
|
},
|
||||||
"props": [
|
"props": [
|
||||||
{
|
|
||||||
"name": "prefix",
|
|
||||||
"propType": "string",
|
|
||||||
"defaultValue": "next-"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "className",
|
"name": "className",
|
||||||
"propType": "any"
|
"propType": "any"
|
||||||
@ -12414,38 +12409,14 @@
|
|||||||
"desktop"
|
"desktop"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"description": "设备,用来做自适应,默认为 PC\n@enumdesc 手机, 平板, PC",
|
"description": "设备,用来做自适应,默认为PC",
|
||||||
"defaultValue": "desktop"
|
"defaultValue": "desktop"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "rows",
|
|
||||||
"propType": {
|
|
||||||
"type": "oneOfType",
|
|
||||||
"value": [
|
|
||||||
"number",
|
|
||||||
"string"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "columns",
|
"name": "columns",
|
||||||
"propType": {
|
"propType": "number",
|
||||||
"type": "oneOfType",
|
"description": "分为几列",
|
||||||
"value": [
|
"defaultValue": 4
|
||||||
"number",
|
|
||||||
"string"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"description": "分为几列, 默认是 12 列"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "component",
|
|
||||||
"propType": {
|
|
||||||
"type": "instanceOf",
|
|
||||||
"value": "elementType"
|
|
||||||
},
|
|
||||||
"description": "设置标签类型",
|
|
||||||
"defaultValue": "div"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "style",
|
"name": "style",
|
||||||
@ -12472,27 +12443,9 @@
|
|||||||
"subName": "Cell"
|
"subName": "Cell"
|
||||||
},
|
},
|
||||||
"props": [
|
"props": [
|
||||||
{
|
|
||||||
"name": "device",
|
|
||||||
"propType": {
|
|
||||||
"type": "oneOf",
|
|
||||||
"value": [
|
|
||||||
"phone",
|
|
||||||
"tablet",
|
|
||||||
"desktop"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"defaultValue": "desktop"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "colSpan",
|
"name": "colSpan",
|
||||||
"propType": {
|
"propType": "number",
|
||||||
"type": "oneOfType",
|
|
||||||
"value": [
|
|
||||||
"number",
|
|
||||||
"object"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"description": "横向,占据几列"
|
"description": "横向,占据几列"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -12500,15 +12453,6 @@
|
|||||||
"propType": "number",
|
"propType": "number",
|
||||||
"description": "纵向,占据几行"
|
"description": "纵向,占据几行"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "component",
|
|
||||||
"propType": {
|
|
||||||
"type": "instanceOf",
|
|
||||||
"value": "elementType"
|
|
||||||
},
|
|
||||||
"description": "设置标签类型",
|
|
||||||
"defaultValue": "div"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "style",
|
"name": "style",
|
||||||
"propType": "object"
|
"propType": "object"
|
||||||
@ -13673,7 +13617,21 @@
|
|||||||
"screenshot": "",
|
"screenshot": "",
|
||||||
"schema": {
|
"schema": {
|
||||||
"componentName": "ResponsiveGrid",
|
"componentName": "ResponsiveGrid",
|
||||||
"props": {}
|
"props": {},
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"componentName": "ResponsiveGrid.Cell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"componentName": "ResponsiveGrid.Cell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"componentName": "ResponsiveGrid.Cell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"componentName": "ResponsiveGrid.Cell"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user