'use client' import {Button, Col, Form, Input, Row, Select, Space, theme} from "antd"; import React, {useState} from "react"; const AdvancedSearchForm = () => { const { token } = theme.useToken(); const [form] = Form.useForm(); const [searchFields, setSearchFields] = useState([ // , ) : ( )} , ); } return children; }; const onFinish = (values: any) => { console.log('Received values of form: ', values); }; return (
{/**/} {/*{searchFields}*/} {/* */} {/*
*/} {/* */} {/**/} {/* */} {/**/} {searchFields} {/**/} {/**/} {/**/} {/* {*/} {/* form.resetFields();*/} {/* }}*/} {/*>*/} {/* 清空*/} {/**/} {/**/} {/* {*/} {/* setExpand(!expand);*/} {/* }}*/} {/*> Collapse*/} {/**/} {/* */} {/*
*/}
); }; export default AdvancedSearchForm;