文件路径中使用大括号命名的会出现错误

BUG反馈 · 62 次浏览
xusd99 创建于 2024-07-14 20:40
1.2组合成文本$${filepath}\文件归档
[in]格式化字符串【值/表达式】F:\{文档}\文件归档
[in]参数0【值/表达式】
[in]参数1【值/表达式】
[in]参数2【值/表达式】
[in]参数3【值/表达式】
[in]参数4【值/表达式】
异常:输入字符串的格式不正确。
   在 System.Text.StringBuilder.FormatError()
   在 System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
   在 System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
   在 System.String.Format(IFormatProvider provider, String format, Object[] args)
   在 Quicker.Domain.Actions.X.BuiltinRunners.Text.FormatStringStep.<>c__DisplayClass37_0.RV8XAdtqmY8()
   在 Quicker.Domain.Actions.X.XActionHelper.ExecuteCommonAction(ActionExecuteContext context, ActionStep step, XAction action, Func`1 actionFunc, Action successAction, Action failAction, StepInParamDef stopIfErrorParam, StepOutParamDef isSuccessOutputParam)
步骤(sys:formatString)执行失败,原因:输入字符串的格式不正确。

改成:

组合成文本 {0}\文件归档

[in]参数0【变量filepath】

后则不在报错。

 


回复内容
暂无回复
回复主贴