[Improvement] Mixins: treat empty string as true for boolean props (#468)

This commit is contained in:
Li Chuangbo
2017-12-22 17:08:50 +13:00
committed by neverland
parent b67c9956b2
commit 57abc04346
5 changed files with 23 additions and 1 deletions

View File

@@ -51,9 +51,11 @@ export default create({
default: () => []
},
overlay: {
type: Boolean,
default: true
},
closeOnClickOverlay: {
type: Boolean,
default: true
}
},