diff --git a/yao/fields/model.trans.json b/yao/fields/model.trans.json index cf074490..dc612df8 100644 --- a/yao/fields/model.trans.json +++ b/yao/fields/model.trans.json @@ -500,8 +500,8 @@ "type": "RadioGroup", "props": { "options": [ - { "label": "::Enable", "value": true }, - { "label": "::Disable", "value": false } + { "label": "::Enable", "value": 1 }, + { "label": "::Disable", "value": 0 } ] } } @@ -513,8 +513,8 @@ "type": "RadioGroup", "props": { "options": [ - { "label": "::Enable", "value": true }, - { "label": "::Disable", "value": false } + { "label": "::Enable", "value": 1 }, + { "label": "::Disable", "value": 0 } ] } } @@ -525,8 +525,8 @@ "view": { "type": "Switch", "props": { - "checkedValue": true, - "unCheckedValue": false, + "checkedValue": 1, + "unCheckedValue": 0, "checkedChildren": "::Enable", "unCheckedChildren": "::Disable" }