删除假数据

hmxc
张萌 3 years ago
parent 591174f409
commit a01e968867

@ -90,38 +90,7 @@ class _AnnounceViewState extends State<AnnounceView> {
scrollController: _autoScrollController, scrollController: _autoScrollController,
onRefresh: () async { onRefresh: () async {
_modelLists.clear(); _modelLists.clear();
monthListDepart([ // monthListDepart();
AnnounceListModel(
date: '2020-10-11 12:00:00',
id: 1,
content: 'aaaaaa',
title: '11111'),
AnnounceListModel(
date: '2020-10-11 12:00:00',
id: 2,
content: 'bbbbbbb',
title: '222222'),
AnnounceListModel(
date: '2020-11-11 12:00:00',
id: 3,
content: 'cccccccc',
title: '33333'),
AnnounceListModel(
date: '2020-11-11 12:00:00',
id: 4,
content: 'ddddddd',
title: '44444'),
AnnounceListModel(
date: '2020-12-11 12:00:00',
id: 5,
content: 'eeeeeee',
title: '555555'),
AnnounceListModel(
date: '2020-11-11 12:00:00',
id: 5,
content: 'eeeeeee',
title: '555555'),
]);
if (_modelLists.isNotEmpty) { if (_modelLists.isNotEmpty) {
_headMonth = _modelLists[0].month; _headMonth = _modelLists[0].month;
} }

Loading…
Cancel
Save