Firebase.push failed: first argument contains an invalid key ($$hashKey)

前端 未结 6 1181
太阳男子
太阳男子 2021-02-02 13:42

I recently started learning AngularJS+Firebase. I\'m trying to write in my firebase an object like this:

{
    title: \"Personal Information\",
    say: [
               


        
6条回答
  •  遇见更好的自我
    2021-02-02 14:21

    I wanted to throw another answer in here that is much simpler, just use track by in your repeat. It will get rid of the $$hashKey attribute that is causing so much grief.

    {{item.name}}

提交回复
热议问题