📅  最后修改于: 2022-03-11 14:58:52.935000             🧑  作者: Mango
if (err) {
console.log('Sign up error', err);
observer.error(err);
} else {
this.cognitoUser = result.user;
console.log('Sign up success', result);
observer.next(result);
observer.complete();
}