From 403e0f10cf97ca04711c98ec9ba27a8db7396a89 Mon Sep 17 00:00:00 2001 From: "Oliver.Ke" Date: Fri, 1 Nov 2024 11:08:18 +0800 Subject: [PATCH] =?UTF-8?q?BI-158367=20fix:=20=E8=B0=83=E6=95=B4=E4=B8=8BS?= =?UTF-8?q?ingleSelectSearchLoader=E9=87=8C=EF=BC=8CSingleSelectRadioItem?= =?UTF-8?q?=E7=9A=84=E6=96=87=E6=9C=AC=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../singleselect/search/singleselect.search.loader.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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, + ), ); }