Browse Source

REPORT-133110 【fr-fbp回归】【FR图表】区域地图-类型-地图边界,地理信息和自定义图片无法选中并展开选择子层级内容

fbp/merge
Destiny.Lin 4 months ago
parent
commit
82863e626d
  1. 8
      designer-realize/src/main/java/com/fanruan/fs/DesignFileRepository.java

8
designer-realize/src/main/java/com/fanruan/fs/DesignFileRepository.java

@ -7,6 +7,9 @@ import com.fr.stable.project.ProjectConstants;
import com.fr.workspace.server.entity.resource.ResourceBean; import com.fr.workspace.server.entity.resource.ResourceBean;
import com.fr.workspace.server.repository.resource.PublicResourceRepository; import com.fr.workspace.server.repository.resource.PublicResourceRepository;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
/** /**
* DesignFileRepository * DesignFileRepository
@ -31,4 +34,9 @@ public class DesignFileRepository extends LocalFileRepository {
public FineFileEntry[] listEntry(String dir) { public FineFileEntry[] listEntry(String dir) {
return PublicResourceRepository.getInstance().listEntry(new ResourceBean(dir)); return PublicResourceRepository.getInstance().listEntry(new ResourceBean(dir));
} }
@Override
public InputStream openStream(String path) {
return new ByteArrayInputStream(PublicResourceRepository.getInstance().openStream(path));
}
} }

Loading…
Cancel
Save