浏览代码

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

yangfeng 3 年之前
父节点
当前提交
46dc74fd12
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      src/web/templates/pc/previewData.html

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

@@ -177,6 +177,18 @@
 	} catch (err) {
 	} catch (err) {
 		console.log(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}}
 	var ttf={{.T.ttf}}
 	function textFormatForMosaic (text, phone) {
 	function textFormatForMosaic (text, phone) {