diff --git a/packages/fineui/src/widget/singleselect/search/singleselect.search.loader.js b/packages/fineui/src/widget/singleselect/search/singleselect.search.loader.js index 0eb7009a5..7b67b59df 100644 --- a/packages/fineui/src/widget/singleselect/search/singleselect.search.loader.js +++ b/packages/fineui/src/widget/singleselect/search/singleselect.search.loader.js @@ -12,7 +12,7 @@ import { isArray, isKey, Func, - SIZE_CONSANTS + SIZE_CONSANTS, } from "@/core"; import { ButtonGroup, Loader } from "@/base"; import { SingleSelectList } from "../singleselect.list"; @@ -71,7 +71,7 @@ export class SingleSelectSearchLoader extends Widget { layouts: [ { type: VerticalLayout.xtype, - } + }, ], }, }, @@ -122,11 +122,11 @@ export class SingleSelectSearchLoader extends Widget { height: SIZE_CONSANTS.LIST_ITEM_HEIGHT, selected: false, iconWrapperWidth: 26, - hgap: o.allowNoSelect ? 10 : 0, + textHgap: o.allowNoSelect ? 10 : 0, title: item.title || item.text, }, - item - ) + item, + ), ); }