From 1f5df1a3db88ff4317b3dfb7345f79dfb3b83dbf Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Fri, 4 Aug 2023 14:57:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuMethod.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuMethod.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/SrcJuMethod.js b/SrcJuMethod.js index eac30f49..ec9b07af 100644 --- a/SrcJuMethod.js +++ b/SrcJuMethod.js @@ -164,10 +164,7 @@ function imageCompress(imgurl,fileid) { let newpath = "/storage/emulated/0/Android/data/com.example.hikerview/files/Documents/_cache/"+(fileid||"")+"_"+getName(imgurl); log(newpath); //compress(f, 2, newpath); - //log(f); - let f = fetch(imgurl, { - inputStream: true - }); + log(f); let r = compress(f, 3, newpath); log(r); return "file://" + newpath;