摘要: 简单记录一下 Notifications 里面使用到的 CSSMotionList 的一段代码。 先看下面代码片段,Notification.add()当,notice 的数量超过最大数量时,Antd 是把第一个的 key 借给最新插入的这个 notice 使用,做法是保留 key,赋值给新插入的 阅读全文
posted @ 2021-06-27 16:05 kongshu 阅读(232) 评论(0) 推荐(0) 编辑