Skip to content

Commit c33965d

Browse files
committed
fix: CheckBox.Group throw error when update value to undefined #1360
1 parent 2e9b300 commit c33965d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/checkbox/Group.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default {
3232
},
3333
watch: {
3434
value(val) {
35-
this.sValue = val;
35+
this.sValue = val || [];
3636
},
3737
},
3838
methods: {

0 commit comments

Comments
 (0)