0
据我所知,出于某种原因FB使用它自己的承诺实施,而不是ES6标准。混合firebase承诺与ES6承诺
混合FB和ES6的承诺是否可行/安全?例如在一个'然后'链?
let p1=firebase.auth().signInWithEmailAndPassword(email, password);
let p2=new Promise(...
p1.then(ps).then(// ?? is this ok ?
thx!
应该工作。你有问题吗? –