From 035fca6e4cb8124886482bf0bd44130dfa2f610d Mon Sep 17 00:00:00 2001 From: wangyu <727842003@qq.com> Date: Sat, 4 Dec 2021 10:38:45 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=8C=87=E6=95=B0=E5=80=8D?= =?UTF-8?q?=E6=8F=90=E5=8D=87=E6=80=A7=E8=83=BD=EF=BC=8C=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/flyfish/framework/beans/meta/BeanProperty.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flyfish-web/src/main/java/com/flyfish/framework/beans/meta/BeanProperty.java b/flyfish-web/src/main/java/com/flyfish/framework/beans/meta/BeanProperty.java index b7dc810..e181c89 100644 --- a/flyfish-web/src/main/java/com/flyfish/framework/beans/meta/BeanProperty.java +++ b/flyfish-web/src/main/java/com/flyfish/framework/beans/meta/BeanProperty.java @@ -302,7 +302,7 @@ public class BeanProperty { // 写入默认值 Object value = ReflectionUtils.getFieldValue(instance, property.name); if (null != value) { - property.option("initialValue", property.name); + property.option("initialValue", value); } return property; }