This commit is contained in:
Fu Diwei 2025-03-20 21:37:02 +08:00
parent 7e4aa24459
commit 09b1bf6e2d

View File

@ -28,7 +28,7 @@ const AccessFormGcoreConfig = ({ form: formInst, formName, disabled, initialValu
apiToken: z
.string()
.min(1, t("access.form.gcore_api_token.placeholder"))
.max(64, t("common.errmsg.string_max", { max: 64 }))
.max(256, t("common.errmsg.string_max", { max: 256 }))
.trim(),
});
const formRule = createSchemaFieldRule(formSchema);