promise correct result
This commit is contained in:
parent
f761f9215c
commit
c8875d8d40
|
@ -27,7 +27,7 @@
|
|||
}
|
||||
|
||||
if (!ret || !ret.then) {
|
||||
ret = PromiseA.resolve(result);
|
||||
ret = PromiseA.resolve(ret);
|
||||
}
|
||||
|
||||
return ret.then(function (val) {
|
||||
|
|
Loading…
Reference in New Issue