From 61520d9e2b11b4f085fa32eb36ad26215e7f078b Mon Sep 17 00:00:00 2001 From: ste87 Date: Sat, 14 Mar 2026 16:10:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Speed/CreateServerModal.ts?= =?UTF-8?q?x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Speed/CreateServerModal.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Speed/CreateServerModal.tsx b/Speed/CreateServerModal.tsx index 8440d63..7e88bc3 100644 --- a/Speed/CreateServerModal.tsx +++ b/Speed/CreateServerModal.tsx @@ -68,6 +68,10 @@ const CreateServerModal = ({ nodeId, userId, open, onClose }: Props) => { z.literal(''), z.preprocess(Number, z.number().min(0)), ]), + rateLimit: z.union([ // 新增 + z.literal(''), + z.preprocess(Number, z.number().min(0)), + ]), accountPassword: password(usKeyboardCharacters()).nonempty(), shouldCreateServer: z.literal(true), startOnCompletion: z.boolean(),