feat: 增加上传组件链接
This commit is contained in:
parent
54d4d0716c
commit
a31e7f6f68
@ -142,7 +142,11 @@ public class BeanProperty {
|
||||
// 当存在db-ref时,解析为动态数据源
|
||||
Optional<String> optional = processDbRef(clazz);
|
||||
if (optional.isPresent()) {
|
||||
property.prop("uri", optional.get());
|
||||
if ("Attachment".equals(descriptor.getPropertyType().getSimpleName())) {
|
||||
property.prop("attachment", true);
|
||||
} else {
|
||||
property.prop("uri", optional.get());
|
||||
}
|
||||
} else {
|
||||
property.setType(BeanPropertyType.STRING);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user