diff --git a/docs/maa_tasks_schema.json b/docs/maa_tasks_schema.json index 5a7ebefc46..192e2a762c 100644 --- a/docs/maa_tasks_schema.json +++ b/docs/maa_tasks_schema.json @@ -147,7 +147,13 @@ "pattern": "MatchTemplate" }, "template": { - "type": "string", + "type": [ + "array", + "string" + ], + "items": { + "type": "string" + }, "default": "", "description": "可选项,要匹配的图片文件名\n不填时写默认 \"任务名.png\"" }, diff --git a/docs/maa_tasks_schema_en.json b/docs/maa_tasks_schema_en.json index fd25b250df..9293850188 100644 --- a/docs/maa_tasks_schema_en.json +++ b/docs/maa_tasks_schema_en.json @@ -147,7 +147,13 @@ "pattern": "MatchTemplate" }, "template": { - "type": "string", + "type": [ + "array", + "string" + ], + "items": { + "type": "string" + }, "default": "", "description": "Optional, the file name of the image to be matched\nDefauts to \"task name.png\", If not filled" },