tianyun %!s(int64=2) %!d(string=hai) anos
pai
achega
659555d281
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      simple-demo/webp.html

+ 1 - 0
simple-demo/webp.html

@@ -42,6 +42,7 @@
         for (let i = 0; i < items.length; i++) {
             if (items[i].type.indexOf("image") !== -1) {
                 document.getElementById("preSize").innerText = "";
+                document.getElementById("afterSize").innerText = "";
                 // 获取图片文件或URL
                 const blob = items[i].getAsFile();
                 const imageUrl = URL.createObjectURL(blob);