fix(transfer): props declare

This commit is contained in:
07akioni 2020-11-06 16:11:19 +08:00
parent 4c486639a7
commit 8fa21fe818
4 changed files with 10 additions and 10 deletions

View File

@ -24,15 +24,15 @@ export default {
},
props: {
theme: {
validator: String,
type: String,
default: null
},
source: {
validator: Boolean,
type: Boolean,
default: false
},
onChange: {
validator: Function,
type: Function,
required: true
}
},

View File

@ -22,7 +22,7 @@ export default {
},
props: {
source: {
validator: Boolean,
type: Boolean,
default: false
}
}

View File

@ -39,15 +39,15 @@ export default {
},
props: {
label: {
validator: String,
type: String,
required: true
},
value: {
validator: [String, Number],
type: [String, Number],
required: true
},
disabled: {
validator: Boolean,
type: Boolean,
default: false
}
},

View File

@ -39,15 +39,15 @@ export default {
},
props: {
label: {
validator: String,
type: String,
required: true
},
value: {
validator: [String, Number],
type: [String, Number],
required: true
},
disabled: {
validator: Boolean,
type: Boolean,
default: false
}
},