关于表达式使用过程中报错:步骤执行失败,原因:No applicable indexer exists in type 'List`1' (at index 7)

帝幽悠 2020/3/6 发布 · 2020/3/6 更新 · 2654 次阅读

步骤执行失败,原因:No applicable indexer exists in type 'List`1' (at index 7).

情况1:表达式中【变量类型错误】数字变量是long型的,要转换成int型

示例:

这样使表达式取列表中的一项,会报错原因:数字变量是long型的,要转换成int型

正确使用$={列表变量}[(int){索引号}]    例如: $={帖子URL列表}[(int){索引号}]

· {{comment.createTimeStr}}
{{reply.votePoints}}
回复   – {{reply.createTimeStr}}
回复 x
标签
目录
相关操作