錯誤:line 32 Duplicate item error and crash
原因:AllNotesSection(header: "", modelItems: [model]), header的值必須是唯一的,不能和任何一個section的header相同,見下圖

Screen Shot 2019-07-16 at 9.49.02 PM.png
可以全局搜索下串,在該處打斷點(diǎn)調(diào)試你就會明白了
private static func indexSections<Section: AnimatableSectionModelType>
解決:header的值必須是唯一解決問題
如果對RxDataSource動畫刪除cell不熟悉的可以留評或私聊
I will help you.