We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2fb515 commit 4a20219Copy full SHA for 4a20219
src/uni_modules/wot-design-uni/components/wd-checkbox/types.ts
@@ -34,13 +34,15 @@ export const checkboxProps = {
34
* 选中值,在 checkbox-group 中使用无效,需同 false-value 一块使用
35
*/
36
trueValue: {
37
- type: [String, Number, Boolean]
+ type: [String, Number, Boolean],
38
+ default: true
39
},
40
/**
41
* 非选中时的值,在 checkbox-group 中使用无效,需同 true-value 一块使用
42
43
falseValue: {
44
45
+ default: false
46
47
48
* 设置大小,可选值:large
0 commit comments