上一张分享了input输入框 这一章分享一下输入框 ,这里就不贴图了,可以去看继ProTable自定义搜索-input输入框__琉的博客-优快云博客的样式图和方法注释,这里就不多做注释了,原理都是一样,之不够是组件不一样
import { NpTableContext } from '@/components/CustomTable';
import { SearchOutlined } from '@ant-design/icons';
import ProForm, { ProFormSelect } from '@ant-design/pro-form';
import type { FilterDropdownProps } from 'antd/lib/table/interface';
import { useContext } from 'react';
import { message } from 'antd';
const SearchSelect = <T,>(arr: any, From: string, To: string,