Browse Source

取消代码注入

liuyuqi-dellpc 1 year ago
parent
commit
f56cb9debf
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/index.html
  2. 1 1
      src/static/photopea/code/pp.js

+ 1 - 1
src/index.html

@@ -29,7 +29,7 @@
             canWrite: ''	// 是否可写; 可写才能编辑;
         };
     </script>
-    <script src="./static/photopea/code/page.js?ver=1.31.02-1.03" type="text/javascript" charset="utf-8"></script>
+    <!-- <script src="./static/photopea/code/page.js?ver=1.31.02-1.03" type="text/javascript" charset="utf-8"></script> -->
 
     <script src="./static/photopea/code/ext.js?ver=1.31.02-1.03" type="text/javascript" charset="utf-8"></script>
 

+ 1 - 1
src/static/photopea/code/pp.js

@@ -94273,7 +94273,7 @@
 	window.onload = function () {
 		var F = new dR;
 		window.appEditor=F;appEditor.file = cz;appEditor.image = em;
-		window.$BODY.trigger("appLoaded");// add by warlee;
+		// window.$BODY.trigger("appLoaded");// add by warlee;
 		document.body.appendChild(F.u)
 	}
 }())