Appearance
antd 表单自带了数据校验功能,只需要在 form 中定义 rules 即可。
本项目使用 zod 进行数据校验。根据 api 需求进行数据校验。在 app/schema/index.ts 同意定义接口数据校验规则。
app/schema/index.ts