heyang 2 years ago
parent
commit
98117d2943
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/utils/LodopFuncs.js

+ 2 - 2
src/utils/LodopFuncs.js

@@ -63,7 +63,7 @@ export function getLodop(oOBJECT,oEMBED){
         var isIE = (navigator.userAgent.indexOf('MSIE')>=0) || (navigator.userAgent.indexOf('Trident')>=0);
         var isIE = (navigator.userAgent.indexOf('MSIE')>=0) || (navigator.userAgent.indexOf('Trident')>=0);
         if (needCLodop()) {
         if (needCLodop()) {
             try{ LODOP=getCLodop();} catch(err) {};
             try{ LODOP=getCLodop();} catch(err) {};
-            if (!LODOP && document.readyState!=="complete") {alert("C-Lodop没准备好,请稍后再试!"); return;};
+            if (!LODOP && document.readyState!=="complete") {console.log("C-Lodop没准备好,请稍后再试!"); return;};
             if (!LODOP) {
             if (!LODOP) {
                 // if (isIE) document.write(strCLodopInstall); else
                 // if (isIE) document.write(strCLodopInstall); else
                 // document.documentElement.innerHTML=strCLodopInstall+document.documentElement.innerHTML;
                 // document.documentElement.innerHTML=strCLodopInstall+document.documentElement.innerHTML;
@@ -117,6 +117,6 @@ export function getLodop(oOBJECT,oEMBED){
 
 
         //===========================================================
         //===========================================================
         return LODOP;
         return LODOP;
-    } catch(err) {alert("getLodop出错:"+err);};
+    } catch(err) {console.log("getLodop出错:"+err);};
 };
 };