refactor: 屏幕截图删除输出目录字段, 仅留保存路径与文件名称(旧流程输出目录值运行时仍兼容)

This commit is contained in:
yu 2026-11-03 14:17:19 +08:00
parent 04ac6130a0
commit 4486c57536

View File

@ -67139,7 +67139,7 @@
"required": true,
"defaultValue": "",
"placeholder": "如 D:\\files\\demo.png",
"description": "截图保存的完整文件路径(含文件名),点右侧按钮可直接选保存位置;留空时保存到「截图输出目录+截图文件名称」,再留空则保存到流程资源目录",
"description": "截图保存的完整文件路径(含文件名),点右侧按钮可直接选保存位置;留空时保存到流程资源目录并自动生成文件名",
"advanced": false,
"valueTypes": [
"rpa_str_file",
@ -67159,22 +67159,6 @@
"advanced": false,
"valueTypes": []
},
{
"key": "outImagePath",
"label": "截图输出目录",
"widget": "folder",
"type": "object",
"displayType": "selectFile",
"required": false,
"defaultValue": "",
"placeholder": "如 D:\\output",
"description": "「截图保存路径」为空时,截图保存到该目录下的「截图文件名称」;两者都为空则保存到流程资源目录",
"advanced": false,
"valueTypes": [
"rpa_str_folder",
"rpa_str"
]
},
{
"key": "outImageName",
"label": "截图文件名称",
@ -67184,7 +67168,7 @@
"required": false,
"defaultValue": "",
"placeholder": "留空则自动生成,如 screenshot_1730000000.png",
"description": "配合「截图输出目录」使用的文件名;「截图保存路径」已含文件名时无需填写",
"description": "「截图保存路径」只填了目录或留空时使用的文件名;已含文件名时无需填写",
"advanced": false,
"valueTypes": [
"rpa_str"