当我尝试向firebase写入一个映射时,我遇到了这个错误: FirebaseError: Function DocumentReference.set() called with invalid dataUnsupported field value: a custom Map object (found in field documentData.elements) 我希望将映射而不是数组写入firebase,以便能够在不覆盖整个数组的情况下合并数据集,而只添加或删除映射的条目。然而,我无法让