当前位置: 代码迷 >> 综合 >> flowable 6.5.0 流程图片乱码解决
  详细解决方案

flowable 6.5.0 流程图片乱码解决

热度:95   发布时间:2024-01-30 09:14:43.0

添加一个配置类,完事clean项目,重启,清理浏览器缓存,清理之前生成的流程图片

FlowableConfig

import org.flowable.spring.SpringProcessEngineConfiguration;
import org.flowable.spring.boot.EngineConfigurationConfigurer;
import org.springframework.context.annotation.Configuration;@Configurationpublic class FlowableConfig 
implements EngineConfigurationConfigurer<SpringProcessEngineConfiguration> { @Override //www.1b23.compublic void configure(SpringProcessEngineConfiguration engineConfiguration) {engineConfiguration.setActivityFontName("宋体");engineConfiguration.setLabelFontName("宋体");engineConfiguration.setAnnotationFontName("宋体");}
}