提交 834ea4ad 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'fix/o2_fix' into 'wrdp'

PromiseAll增加undefined判断

See merge request o2oa/o2oa!2196
......@@ -1869,7 +1869,7 @@ if (!window.Promise){
return { "then": function(s){ s(p); return this;} };
}
}else{
if (o2.typeOf(p.then)=="function"){
if (p && o2.typeOf(p.then)=="function"){
return Promise.resolve(p);
}else{
return { "then": function(s){ s(p); return this;} };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册