[improvement] make props less magic (#3775)

This commit is contained in:
neverland
2019-07-08 16:18:19 +08:00
committed by GitHub
parent 642639da6e
commit be96fa2233
55 changed files with 283 additions and 206 deletions
+1 -1
View File
@@ -11,8 +11,8 @@ export const CheckboxMixin = ({ parent, bem, role }) => ({
props: {
name: null,
value: null,
iconSize: [String, Number],
disabled: Boolean,
iconSize: [Number, String],
checkedColor: String,
labelPosition: String,
labelDisabled: Boolean,
+1 -1
View File
@@ -29,7 +29,7 @@ export const PopupMixin = {
// whether to close popup when click overlay
closeOnClickOverlay: Boolean,
// z-index
zIndex: [String, Number],
zIndex: [Number, String],
// prevent body scroll
lockScroll: {
type: Boolean,