更新 Speed/CreateServerModal.tsx
This commit is contained in:
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user