You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.1 KiB
65 lines
1.1 KiB
5 years ago
|
export const defaultFieldNames = {
|
||
|
label: 'label',
|
||
|
value: 'value',
|
||
|
children: 'children',
|
||
|
}
|
||
|
|
||
|
export const props = {
|
||
|
prefixCls: {
|
||
|
type: String,
|
||
|
value: 'wux-picker-col',
|
||
|
},
|
||
|
defaultValue: {
|
||
|
type: String,
|
||
|
value: '',
|
||
|
},
|
||
|
value: {
|
||
|
type: String,
|
||
|
value: '',
|
||
|
},
|
||
|
controlled: {
|
||
|
type: Boolean,
|
||
|
value: false,
|
||
|
},
|
||
|
itemHeight: {
|
||
|
type: Number,
|
||
|
value: 34,
|
||
|
},
|
||
|
itemStyle: {
|
||
|
type: [String, Object, Array],
|
||
|
value: '',
|
||
|
},
|
||
|
indicatorStyle: {
|
||
|
type: [String, Object, Array],
|
||
|
value: '',
|
||
|
},
|
||
|
indicatorClass: {
|
||
|
type: String,
|
||
|
value: '',
|
||
|
},
|
||
|
maskStyle: {
|
||
|
type: [String, Object, Array],
|
||
|
value: '',
|
||
|
},
|
||
|
maskClass: {
|
||
|
type: String,
|
||
|
value: '',
|
||
|
},
|
||
|
labelAlign: {
|
||
|
type: String,
|
||
|
value: 'center',
|
||
|
},
|
||
|
defaultFieldNames: {
|
||
|
type: Object,
|
||
|
value: defaultFieldNames,
|
||
|
},
|
||
|
loading: {
|
||
|
type: Boolean,
|
||
|
value: false,
|
||
|
},
|
||
|
options: {
|
||
|
type: Array,
|
||
|
value: [],
|
||
|
},
|
||
|
}
|