Browse Source

Merge branch 'dev4.6.2.7' of http://192.168.3.207:8080/qmx/jy into dev4.6.2.7

yangfeng 3 years ago
parent
commit
46dc74fd12
1 changed files with 12 additions and 0 deletions
  1. 12 0
      src/web/templates/pc/previewData.html

+ 12 - 0
src/web/templates/pc/previewData.html

@@ -177,6 +177,18 @@
 	} catch (err) {
 		console.log(err)
 	}
+	function isIE(){
+		if(!!window.ActiveXObject || "ActiveXObject" in window){
+			return true;
+		}else{
+			return false;
+		}
+	}
+	$(function () {
+		if (isIE()) {
+			renderImg()
+		}
+	})
 
 	var ttf={{.T.ttf}}
 	function textFormatForMosaic (text, phone) {