地市组件改为获取全部数据,不使用懒加载

This commit is contained in:
孙景学
2025-08-06 08:20:44 +08:00
parent 0afdf4e64a
commit bf836ed1b7
3 changed files with 31 additions and 94 deletions

View File

@ -593,23 +593,6 @@ export const BankAccountSection: React.FC<CommonFormSectionsProps> = ({ form, su
<DictRegionSelect
onChange={(value: any) => handleAddressChange(value as string[], record)}
/>
{/* <Cascader
options={addressOptions}
placeholder="请选择地址"
onChange={(value) => handleAddressChange(value, record)}
showSearch={{
filter: (inputValue, path) => {
return path.some((option) => {
if (typeof option.label === 'string') {
return (
option.label.toLowerCase().indexOf(inputValue.toLowerCase()) > -1
);
}
return false;
});
},
}}
/> */}
</Form.Item>
</>
),