地市组件改为获取全部数据,不使用懒加载
This commit is contained in:
@ -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>
|
||||
</>
|
||||
),
|
||||
|
Reference in New Issue
Block a user