CAD默认预览模式调整为svg

This commit is contained in:
陈精华 2023-07-22 14:31:22 +08:00
parent 4f86a56f59
commit cad2d58f44
No known key found for this signature in database
GPG Key ID: 30BDC970902B755D
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ pdf2jpg.dpi = ${KK_PDF2JPG_DPI:144}
#xlsx格式前端解析 #xlsx格式前端解析
office.type.web = ${KK_OFFICE_TYPE_WEB:web} office.type.web = ${KK_OFFICE_TYPE_WEB:web}
#Cad类型图片浏览模式tif利用前端js插件浏览svg转换为svg显示pdf转换为pdf后显示便于打印 #Cad类型图片浏览模式tif利用前端js插件浏览svg转换为svg显示pdf转换为pdf后显示便于打印
cad.preview.type = ${KK_CAD_PREVIEW_TYPE:pdf} cad.preview.type = ${KK_CAD_PREVIEW_TYPE:svg}
#Cad转换超时设置 #Cad转换超时设置
cad.timeout =${KK_CAD_TIMEOUT:90} cad.timeout =${KK_CAD_TIMEOUT:90}
#Cad转换线程设置 #Cad转换线程设置

View File

@ -495,7 +495,7 @@ public class ConfigConstants {
return cadPreviewType; return cadPreviewType;
} }
@Value("${cad.preview.type:pdf}") @Value("${cad.preview.type:svg}")
public void setCadPreviewType(String cadPreviewType) { public void setCadPreviewType(String cadPreviewType) {
setCadPreviewTypeValue(cadPreviewType); setCadPreviewTypeValue(cadPreviewType);
} }