From 5cc41a2d49ac3925317c4d46e63df7d9a5ac0c4e Mon Sep 17 00:00:00 2001 From: "everywhere.z" Date: Wed, 14 Dec 2022 23:43:08 +0800 Subject: [PATCH] =?UTF-8?q?bug=20#I6624Z=20=E8=A7=84=E5=88=99data=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E4=BC=A0=E9=80=92=E7=BA=AF=E5=AD=97=E7=AC=A6=E4=B8=B2?= =?UTF-8?q?=20"xxxx"=EF=BC=8C=E5=9C=A8=E8=84=9A=E6=9C=AC=E9=87=8C=E8=8E=B7?= =?UTF-8?q?=E5=BE=97=E4=BC=9A=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/yomahub/liteflow/core/NodeComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java b/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java index 5e8dc281f..b7bd2b070 100644 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java +++ b/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java @@ -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);