首页 > 解决方案 > 在 IBM BPM Dojo CoachView 中接收错误“name.split 不是函数”

问题描述

我在下面一行的 IBM BPM Dojo 中遇到错误name.split is not a function

_context.binding.get("value").get(i).set("expectedDeliveryDate", e.newVal);

该列表有 3 个项目,i是迭代中的索引号。字段e.newVal是一个非空字符串(使用控制台日志验证)。

标签: javascriptdojo

解决方案


.split 在号码上不可用。也许 IBM BPM 在“get”参数上进行拆分

_context.binding.get("value").get(i.toString()).set("expectedDeliveryDate", e.newVal);

推荐阅读