AngularFireAuth.authState 是一个Observable,所以你可以订阅它,然后获取用户实例: private user: firebase.User; constructor(public afAuth: AngularFireAuth) ...
確定! 回上一頁