From c092ce49b4cc13b960cffecfcbebf8728ac98891 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Sun, 12 May 2024 14:54:13 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20uni=20=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E4=B8=8B=20base64=20=E5=88=A4=E6=96=AD=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E7=9A=84=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: puhui999 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index de17ed2..e259a3e 100644 --- a/index.js +++ b/index.js @@ -913,7 +913,7 @@ rs(url) return } - if(~url.indexOf('data:image')) { + if(url.indexOf('data:image') !== -1) { let tempFilePath = url, imageInfoR = {} // #ifndef MP-ALIPAY imgTools.base64ToPath(url) -- Gitee