不确定为什么这不起作用,JSON在其他firebase相关方法中都是正确的。
var loggedInUserMatches = firebase.database().ref('users/' + _LOGGED_IN_USER[0].useruid + '/matches/' + 'PHS2DwlCZ0RJaylhJ0FNgEiNLug2');
loggedInUserMatches.remove();
这没有任何效果,然后当我登出loggedInUserMatches
时,它会给我:U {w: sf, path: L, n: De, Oc: false, then: undefined…} "liu"
想想也许我没有删除正确的东西,任何想法?