import React, { FC } from "react"; import { Input } from "antd"; import { FormComponentProps } from "antd/lib/form"; import FormItemDecorator from "@/components/FormItemDecorator"; import { CodeInput } from "@/components/CustComponents"; import { CodeType } from "@/components/CustComponents/CodeInput"; import "./index.scss"; export type ContactEntity = { contactName: String; // 手机号 contactMobile: String; // 邮箱 contactEmail: String; }; type P = FormComponentProps & { contactEntity?: ContactEntity; }; const ContactForm: FC

= props => { const { form, contactEntity } = props; const mobile = form.getFieldValue("contactMobile") || contactEntity.contactMobile || ""; const email = form.getFieldValue("contactEmail") || contactEntity.contactEmail || ""; return (

联系人信息
); }; export default ContactForm;