fix: 修复店铺选择器选项无法显示的问题

This commit is contained in:
小蟑螂
2026-03-27 20:45:11 +08:00
parent 950076d527
commit bfd4242925
@@ -270,13 +270,13 @@ const formOptions = computed(() => ({
component: 'Select', component: 'Select',
componentProps: { componentProps: {
placeholder: '请选择店铺(支持搜索)', placeholder: '请选择店铺(支持搜索)',
options: shopOptions.value, options: shopOptions,
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
filterOption: false, filterOption: false,
onSearch: handleShopSearch, onSearch: handleShopSearch,
onPopupScroll: handleShopPopupScroll, onPopupScroll: handleShopPopupScroll,
loading: shopLoading.value, loading: shopLoading,
dropdownMenuColumnStyle: { maxHeight: '300px', overflow: 'auto' }, dropdownMenuColumnStyle: { maxHeight: '300px', overflow: 'auto' },
}, },
fieldName: 'shopId', fieldName: 'shopId',