[improvement] Picker: optimize default-index default value (#3534)

This commit is contained in:
neverland 2019-06-17 17:35:04 +08:00 committed by GitHub
parent 4d77322c83
commit 8c16c764ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,10 +12,7 @@ export default sfc({
props: {
...pickerProps,
columns: Array,
defaultIndex: {
type: Number,
default: 0
},
defaultIndex: Number,
toolbarPosition: {
type: String,
default: 'top'