更新 Speed/CreateServerModal.tsx
This commit is contained in:
parent
2b452d817b
commit
61520d9e2b
@ -68,6 +68,10 @@ const CreateServerModal = ({ nodeId, userId, open, onClose }: Props) => {
|
|||||||
z.literal(''),
|
z.literal(''),
|
||||||
z.preprocess(Number, z.number().min(0)),
|
z.preprocess(Number, z.number().min(0)),
|
||||||
]),
|
]),
|
||||||
|
rateLimit: z.union([ // 新增
|
||||||
|
z.literal(''),
|
||||||
|
z.preprocess(Number, z.number().min(0)),
|
||||||
|
]),
|
||||||
accountPassword: password(usKeyboardCharacters()).nonempty(),
|
accountPassword: password(usKeyboardCharacters()).nonempty(),
|
||||||
shouldCreateServer: z.literal(true),
|
shouldCreateServer: z.literal(true),
|
||||||
startOnCompletion: z.boolean(),
|
startOnCompletion: z.boolean(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user