📅  最后修改于: 2022-03-11 15:03:14.393000             🧑  作者: Mango
firebase.auth().onAuthStateChanged(function(user) { if (user) {
// User is signed in.
}
else {
// No user is signed in.
}});