fix #1 check for null / undefined result
这个提交包含在:
父节点
7218a53487
当前提交
f761f9215c
@ -26,7 +26,7 @@
|
||||
ret = result = fn(item, k, arr);
|
||||
}
|
||||
|
||||
if (!ret.then) {
|
||||
if (!ret || !ret.then) {
|
||||
ret = PromiseA.resolve(result);
|
||||
}
|
||||
|
||||
|
||||
正在加载...
x
在新工单中引用
屏蔽一个用户