Merge pull request #593 from trheyi/main

Update field values in model.trans.json
This commit is contained in:
Max 2024-03-14 12:48:08 +08:00 committed by GitHub
commit fe580d743a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -500,8 +500,8 @@
"type": "RadioGroup", "type": "RadioGroup",
"props": { "props": {
"options": [ "options": [
{ "label": "::Enable", "value": true }, { "label": "::Enable", "value": 1 },
{ "label": "::Disable", "value": false } { "label": "::Disable", "value": 0 }
] ]
} }
} }
@ -513,8 +513,8 @@
"type": "RadioGroup", "type": "RadioGroup",
"props": { "props": {
"options": [ "options": [
{ "label": "::Enable", "value": true }, { "label": "::Enable", "value": 1 },
{ "label": "::Disable", "value": false } { "label": "::Disable", "value": 0 }
] ]
} }
} }
@ -525,8 +525,8 @@
"view": { "view": {
"type": "Switch", "type": "Switch",
"props": { "props": {
"checkedValue": true, "checkedValue": 1,
"unCheckedValue": false, "unCheckedValue": 0,
"checkedChildren": "::Enable", "checkedChildren": "::Enable",
"unCheckedChildren": "::Disable" "unCheckedChildren": "::Disable"
} }