From 8f436f2f26dee6de44efe213b54b1d9075c95571 Mon Sep 17 00:00:00 2001 From: liupl <9959038@qq.com> Date: Thu, 3 May 2018 18:56:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9wx=E4=B8=BAN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index b485a5e..e0363c7 100644 --- a/index.js +++ b/index.js @@ -387,7 +387,7 @@ }, (e._complete = function (e) { if (E = !1, O.length > 0) { var n = O.shift(); - wx.getLocalImgData(n) + N.getLocalImgData(n) } }, e))) : O.push(e) }, @@ -648,8 +648,8 @@ e.preventDefault(), e.stopPropagation(); var o = n["wx-id"]; if (o || (o = b++, n["wx-id"] = o), R[o]) return; - R[o] = !0, wx.ready(function () { - wx.getLocalImgData({ + R[o] = !0, N.ready(function () { + N.getLocalImgData({ localId: t, success: function (e) { n.src = e.localData