如何在不使用诸如此类的侦听器的情况下在应用程序中获取当前用户的信息onStateChanged?现在我正在使用:
onStateChanged
auth.createUserWithEmailAndPassword(email,password).then(function(user){ }
获取用户信息,然后将其分配给变量..但是当我刷新页面时,该变量将失去其分配的值
javascript angularjs firebase firebase-authentication
angularjs ×1
firebase ×1
firebase-authentication ×1
javascript ×1