diff --git a/pom.xml b/pom.xml
index 0b591e0ae..8ac66875d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
4.0.0
manage
- 2.4.13
+ 2.4.14
UTF-8
2.4.0
diff --git a/src/main/ui/static/analysis/risk_business.js b/src/main/ui/static/analysis/risk_business.js
index 5737d7d47..c6d2503c7 100644
--- a/src/main/ui/static/analysis/risk_business.js
+++ b/src/main/ui/static/analysis/risk_business.js
@@ -677,9 +677,18 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
$scope.riskMaterial.material.forEach(element => {
if (element.file) {
element.file.forEach((item, index) => {
+ var type =item.indexOf('type');
+ console.log("====>type:"+type)
+ if(type>=0){
+ var fileObj= JSON.parse(item);
+ element.file[index] = { isImg: fileObj.isImg, type: fileObj.type, src: fileObj.src }
+ console.log("====>fileType:"+fileObj.type)
+ console.log("====>flag:"+fileObj.isImg)
+ }else{
const fileType = item.substring(item.lastIndexOf('.')).toLowerCase()
const flag = reg.test(item.substring(item.lastIndexOf('.')).toLowerCase())
element.file[index] = { isImg: flag, type: fileType, src: item }
+ }
})
}
})
diff --git a/src/main/ui/static/analysis/templates/audit_material.html b/src/main/ui/static/analysis/templates/audit_material.html
index 4619fa055..53a10ca5b 100644
--- a/src/main/ui/static/analysis/templates/audit_material.html
+++ b/src/main/ui/static/analysis/templates/audit_material.html
@@ -54,9 +54,9 @@