首页公告滚动修复

hmxc
小赖 4 years ago
parent 377700aa48
commit 405acf1eb4

@ -70,7 +70,7 @@ class _HomeNotificationState extends State<HomeNotification> {
duration: Duration(milliseconds: 1000),
child: Align(
alignment: Alignment.centerLeft,
key: ValueKey(randomItem?.id ?? 0),
key: ObjectKey(randomItem),
child: Text(randomItem?.title ?? ''),
),
),

Loading…
Cancel
Save