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

This commit is contained in:
Li Chuangbo
2017-12-22 12:08:50 +08:00
committed by neverland
parent b67c9956b2
commit 57abc04346
5 changed files with 23 additions and 1 deletions
+3
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
}
},