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 02860a1 commit 237cb55Copy full SHA for 237cb55
components/checkbox/Group.jsx
@@ -9,7 +9,7 @@ export default {
9
type: String,
10
},
11
defaultValue: {
12
- default: () => [],
+ default: undefined,
13
type: Array,
14
15
value: {
@@ -33,7 +33,7 @@ export default {
33
data () {
34
const { value, defaultValue } = this
35
return {
36
- sValue: value || defaultValue,
+ sValue: value || defaultValue || [],
37
}
38
39
methods: {
0 commit comments