我正在尝试创建一个场景,在该场景中,用户首先单击附加到ng-click指令的按钮,然后将自动重复单击该按钮,直到被ng-disabled指令禁用。该按钮的代码已随附。任何建议,不胜感激。谢谢!
{
"rules": {
"cakes" : {
".read": true,
".write": false
},
"users": {
"$user_id": {
".read": "auth != null && $user_id === auth.uid",
".write": "auth != null && $user_id === auth.uid"
}
}
}
}