Fu Diwei 2025-03-20 21:37:02 +08:00
parent 7e4aa24459
commit 09b1bf6e2d
1 changed files with 1 additions and 1 deletions

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);