diff --git a/src/components/Common/CommonTable/index.js b/src/components/Common/CommonTable/index.js
index 70a27a5..e73c7cd 100644
--- a/src/components/Common/CommonTable/index.js
+++ b/src/components/Common/CommonTable/index.js
@@ -1296,7 +1296,7 @@ class CommonTableRc extends React.Component {
let imgBox = 0} onClick={e => this.handlePreviewImage(e, picAddr, index)} style={{ width: '30px', height: '20px' }} />;
diff --git a/src/components/Common/OfficePreview/index.js b/src/components/Common/OfficePreview/index.js
index 42b3e7b..26ebce4 100644
--- a/src/components/Common/OfficePreview/index.js
+++ b/src/components/Common/OfficePreview/index.js
@@ -10,6 +10,7 @@ import "@js-preview/excel/lib/index.css";
const OfficePreview = props => {
const { officePreviewVisible, officeFileUrl, onCancel, app } = props;
+ const imgTypeList = ['PNG', 'SVG', 'JPG', 'JPEG', 'GIF', 'BMP', 'TIFF', 'ICO']; /* 常见图片格式列表 */
const title = officeFileUrl
.split("/")
.pop()
@@ -45,6 +46,30 @@ const OfficePreview = props => {
)}
+ {imgTypeList.includes(fileType)&& (
+