bug #I6624Z 规则data不能传递纯字符串 "xxxx",在脚本里获得会报错
This commit is contained in:
parent
21d2ca04e8
commit
5cc41a2d49
|
@ -373,7 +373,7 @@ public abstract class NodeComponent{
|
|||
if (StrUtil.isBlank(this.cmpDataTL.get())){
|
||||
return null;
|
||||
}
|
||||
if (clazz.equals(String.class)){
|
||||
if (clazz.equals(String.class) || clazz.equals(Object.class)){
|
||||
return (T) this.cmpDataTL.get();
|
||||
}
|
||||
return JsonUtil.parseObject(this.cmpDataTL.get(), clazz);
|
||||
|
|
Loading…
Reference in New Issue