diff --git a/src/components/AutoDataSearch/index.vue b/src/components/AutoDataSearch/index.vue index 953e1863a..080a3e2df 100644 --- a/src/components/AutoDataSearch/index.vue +++ b/src/components/AutoDataSearch/index.vue @@ -67,7 +67,7 @@ export default { type: field.type, value: name } - if (field.type === 'choice' && field.choices) { + if (['choice', 'labeled_choice'].indexOf(field.type) > -1 && field.choices) { option.children = field.choices.map(item => { if (typeof (item.value) === 'boolean') { if (item.value) { diff --git a/src/components/AutoDataTable/components/ColumnSettingPopover.vue b/src/components/AutoDataTable/components/ColumnSettingPopover.vue index 3a00b3d7d..56e7fedb5 100644 --- a/src/components/AutoDataTable/components/ColumnSettingPopover.vue +++ b/src/components/AutoDataTable/components/ColumnSettingPopover.vue @@ -1,7 +1,7 @@