mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[Improvement] Mixins: treat empty string as true for boolean props (#468)
This commit is contained in:
@@ -51,9 +51,11 @@ export default create({
|
||||
default: () => []
|
||||
},
|
||||
overlay: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
closeOnClickOverlay: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user