Skip to content

Commit f7b854e

Browse files
committed
grid增加行主键选项
1 parent 2133acd commit f7b854e

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

designer-demo/public/mock/bundle.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12545,6 +12545,26 @@
1254512545
"zh_CN": "行拖拽"
1254612546
}
1254712547
},
12548+
{
12549+
"property": "row-key",
12550+
"label": {
12551+
"text": {
12552+
"zh_CN": "行主键"
12553+
}
12554+
},
12555+
"required": true,
12556+
"readOnly": false,
12557+
"disabled": false,
12558+
"cols": 12,
12559+
"widget": {
12560+
"component": "MetaSwitch",
12561+
"props": {}
12562+
},
12563+
"description": {
12564+
"zh_CN": "是否自动生成行主键,行拖拽时必须启用"
12565+
},
12566+
"labelPosition": "left"
12567+
},
1254812568
{
1254912569
"property": "resizable",
1255012570
"label": {

materials/components/TinyGrid.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,26 @@
541541
"zh_CN": "行拖拽"
542542
}
543543
},
544+
{
545+
"property": "row-key",
546+
"label": {
547+
"text": {
548+
"zh_CN": "行主键"
549+
}
550+
},
551+
"required": true,
552+
"readOnly": false,
553+
"disabled": false,
554+
"cols": 12,
555+
"widget": {
556+
"component": "MetaSwitch",
557+
"props": {}
558+
},
559+
"description": {
560+
"zh_CN": "是否自动生成行主键,行拖拽时必须启用"
561+
},
562+
"labelPosition": "left"
563+
},
544564
{
545565
"property": "resizable",
546566
"label": {

0 commit comments

Comments
 (0)