Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -34,7 +34,7 @@ import ButtonField from '@/components/ButtonField/index.vue' | ... | @@ -34,7 +34,7 @@ import ButtonField from '@/components/ButtonField/index.vue' |
| 34 | * @type textarea 多行文本 TextareaField | 34 | * @type textarea 多行文本 TextareaField |
| 35 | * @type radio 单项选择 RadioField | 35 | * @type radio 单项选择 RadioField |
| 36 | * @type checkbox 多项选择 CheckboxField | 36 | * @type checkbox 多项选择 CheckboxField |
| 37 | - * @type picker 单列选择器 PickerField | 37 | + * @type select 单列选择器 PickerField |
| 38 | * @type area_picker 地址选择器 AreaPickerField | 38 | * @type area_picker 地址选择器 AreaPickerField |
| 39 | * @type date_picker 日期选择器 DatePickerField | 39 | * @type date_picker 日期选择器 DatePickerField |
| 40 | * @type time_picker 时间选择器 TimePickerField | 40 | * @type time_picker 时间选择器 TimePickerField |
| ... | @@ -82,7 +82,7 @@ export function createComponentType(data) { | ... | @@ -82,7 +82,7 @@ export function createComponentType(data) { |
| 82 | if (item.component_props.tag === 'checkbox') { | 82 | if (item.component_props.tag === 'checkbox') { |
| 83 | item.component = CheckboxField; | 83 | item.component = CheckboxField; |
| 84 | } | 84 | } |
| 85 | - if (item.component_props.tag === 'picker') { | 85 | + if (item.component_props.tag === 'select') { |
| 86 | item.component = PickerField; | 86 | item.component = PickerField; |
| 87 | } | 87 | } |
| 88 | if (item.component_props.tag === 'area_picker') { | 88 | if (item.component_props.tag === 'area_picker') { | ... | ... |
-
Please register or login to post a comment