许鹏程
2023-05-19 cae784ab0232e3e3f8abfb0077fd9cf1e49ccb07
src/main/java/com/product/face/service/FaceDesignService.java
@@ -90,6 +90,15 @@
            String propertyType = fs.getString(FaceConst.FIELD_PROPERTY_TYPE);
            String propertyName = fs.getString(FaceConst.FIELD_PROPERTY_NAME);
            propertyValue = fs.getString(FaceConst.FIELD_PROPERTY_VALUE);
            if (StringUtils.equalsAny(propertyName, "renderKey", "formId")) {
               propertyValue = fs.getString("id");
            }
            if ("componentType".equals(propertyName) && "design".equals(propertyValue)) {
               continue;
            }
            if ("layout".equals(propertyName)) {
               property.put("defaultValue", null);
            }
            switch (propertyType) {
               case "1"://字符串
                  property.put(propertyName, propertyValue);