[new feature] Checkbox: support config the maximum amount of checked options (#631)

This commit is contained in:
MaStone
2018-02-09 20:49:38 +08:00
committed by neverland
parent f658204cc5
commit e0664d7f82
7 changed files with 101 additions and 8 deletions

View File

@@ -12,7 +12,11 @@ export default create({
props: {
value: {},
disabled: Boolean
disabled: Boolean,
max: {
default: 0,
type: Number
}
},
watch: {