mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2025-04-05 17:37:49 +08:00
CAD默认预览模式调整为svg
This commit is contained in:
parent
4f86a56f59
commit
cad2d58f44
@ -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转换线程设置
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user