Commit 5b9b014e by 宋祥

Merge branch 'dev' of http://129.211.46.84:8800/platform/hg-smart into master-dc

parents 59fe56f2 e8ed80a2
......@@ -61,12 +61,12 @@ function previewFile(docId, docType, docName) {
$("#descDiv").css('display', 'none');
if (isXml(docType)) {
previewXml(docId);
} else if (isExcel(docType)) {
previewExcel(docId);
} else if (true) {
previewOnline(docId, docName);
} else if (isText(docType)) {
previewText(docId);
} else if (isExcel(docType)) {
previewExcel(docId);
} else if (isWord(docType)) {
previewDocx(docId);
} else if (isImage(docType)) {
......@@ -167,7 +167,7 @@ function isExcel(docType) {
if (isBlank(docType)) {
return false;
}
const extensions = ['xls', 'xlsx'];
const extensions = ['xls'];
return extensions.includes(docType.toLowerCase());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment