管理员新建、编辑优化

This commit is contained in:
unknown 2023-11-01 17:03:48 +08:00
parent 7d37329713
commit 272e9a5d50
2 changed files with 4 additions and 4 deletions

View File

@ -149,12 +149,12 @@ export const SystemAdministratorCreate: React.FC<PropInterface> = ({
<Form.Item <Form.Item
label="邮箱" label="邮箱"
name="email" name="email"
rules={[{ required: true, message: "请输入员邮箱!" }]} rules={[{ required: true, message: "请输入管理员邮箱!" }]}
> >
<Input <Input
allowClear allowClear
style={{ width: 200 }} style={{ width: 200 }}
placeholder="请输入员邮箱" placeholder="请输入管理员邮箱"
/> />
</Form.Item> </Form.Item>
<Form.Item <Form.Item

View File

@ -168,12 +168,12 @@ export const SystemAdministratorUpdate: React.FC<PropInterface> = ({
<Form.Item <Form.Item
label="邮箱" label="邮箱"
name="email" name="email"
rules={[{ required: true, message: "请输入员邮箱!" }]} rules={[{ required: true, message: "请输入管理员邮箱!" }]}
> >
<Input <Input
allowClear allowClear
style={{ width: 200 }} style={{ width: 200 }}
placeholder="请输入员邮箱" placeholder="请输入管理员邮箱"
/> />
</Form.Item> </Form.Item>
<Form.Item label="密码" name="password"> <Form.Item label="密码" name="password">