[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

@@ -59,12 +59,15 @@ export default create({
default: false
},
overlay: {
type: Boolean,
default: true
},
closeOnClickOverlay: {
type: Boolean,
default: false
},
lockOnScroll: {
type: Boolean,
default: true
}
},