From 207dff5c1797ccfe0c45370d928176aa1859e101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Thu, 28 Jun 2018 19:22:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DPromise=E7=9A=84=E4=B8=80?= =?UTF-8?q?=E5=A4=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/anot-touch.js | 1 + src/js/anot-touch.shim.js | 1 + src/js/anot.js | 1 + src/js/anot.shim.js | 1 + 4 files changed, 4 insertions(+) diff --git a/src/js/anot-touch.js b/src/js/anot-touch.js index 0b4b11b..8e67a52 100644 --- a/src/js/anot-touch.js +++ b/src/js/anot-touch.js @@ -497,6 +497,7 @@ const _Anot = (function() { } catch (err) { return reject(err) } + resolve(val) }, function(val) { try { diff --git a/src/js/anot-touch.shim.js b/src/js/anot-touch.shim.js index 2aa5901..a5634a3 100644 --- a/src/js/anot-touch.shim.js +++ b/src/js/anot-touch.shim.js @@ -512,6 +512,7 @@ } catch (err) { return reject(err) } + resolve(val) }, function(val) { try { diff --git a/src/js/anot.js b/src/js/anot.js index 51874b7..ac5b11e 100644 --- a/src/js/anot.js +++ b/src/js/anot.js @@ -497,6 +497,7 @@ const _Anot = (function() { } catch (err) { return reject(err) } + resolve(val) }, function(val) { try { diff --git a/src/js/anot.shim.js b/src/js/anot.shim.js index 1638e8b..f081268 100644 --- a/src/js/anot.shim.js +++ b/src/js/anot.shim.js @@ -512,6 +512,7 @@ } catch (err) { return reject(err) } + resolve(val) }, function(val) { try {