|
|
@@ -370,7 +370,10 @@ export const UsersPage = () => {
|
|
|
name="username"
|
|
|
render={({ field }) => (
|
|
|
<FormItem>
|
|
|
- <FormLabel>用户名</FormLabel>
|
|
|
+ <FormLabel className="flex items-center">
|
|
|
+ 用户名
|
|
|
+ <span className="text-red-500 ml-1">*</span>
|
|
|
+ </FormLabel>
|
|
|
<FormControl>
|
|
|
<Input placeholder="请输入用户名" {...field} />
|
|
|
</FormControl>
|
|
|
@@ -440,7 +443,10 @@ export const UsersPage = () => {
|
|
|
name="password"
|
|
|
render={({ field }) => (
|
|
|
<FormItem>
|
|
|
- <FormLabel>密码</FormLabel>
|
|
|
+ <FormLabel className="flex items-center">
|
|
|
+ 密码
|
|
|
+ <span className="text-red-500 ml-1">*</span>
|
|
|
+ </FormLabel>
|
|
|
<FormControl>
|
|
|
<Input type="password" placeholder="请输入密码" {...field} />
|
|
|
</FormControl>
|
|
|
@@ -488,7 +494,10 @@ export const UsersPage = () => {
|
|
|
name="username"
|
|
|
render={({ field }) => (
|
|
|
<FormItem>
|
|
|
- <FormLabel>用户名</FormLabel>
|
|
|
+ <FormLabel className="flex items-center">
|
|
|
+ 用户名
|
|
|
+ <span className="text-red-500 ml-1">*</span>
|
|
|
+ </FormLabel>
|
|
|
<FormControl>
|
|
|
<Input placeholder="请输入用户名" {...field} />
|
|
|
</FormControl>
|