This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

修复Promise的一处bug

old
宇天 2018-06-28 19:22:03 +08:00
parent a56ececfb5
commit 207dff5c17
4 changed files with 4 additions and 0 deletions

View File

@ -497,6 +497,7 @@ const _Anot = (function() {
} catch (err) { } catch (err) {
return reject(err) return reject(err)
} }
resolve(val)
}, },
function(val) { function(val) {
try { try {

View File

@ -512,6 +512,7 @@
} catch (err) { } catch (err) {
return reject(err) return reject(err)
} }
resolve(val)
}, },
function(val) { function(val) {
try { try {

View File

@ -497,6 +497,7 @@ const _Anot = (function() {
} catch (err) { } catch (err) {
return reject(err) return reject(err)
} }
resolve(val)
}, },
function(val) { function(val) {
try { try {

View File

@ -512,6 +512,7 @@
} catch (err) { } catch (err) {
return reject(err) return reject(err)
} }
resolve(val)
}, },
function(val) { function(val) {
try { try {