[plcs#8888] 单点触摸

master
xiaodong 5 years ago
parent 19c6f910e7
commit ba084e6e6a

@ -51,7 +51,7 @@ class _MonthViewState extends State<MonthView>
items = CacheData.getInstance().monthListCache[firstDayOfMonth];
} else {
LogUtil.log(TAG: this.runtimeType, message: "缓存中无数据");
getItems().then((_){
getItems().then((_) {
CacheData.getInstance().monthListCache[firstDayOfMonth] = items;
});
}
@ -227,13 +227,17 @@ class ItemContainerState extends State<ItemContainer> {
}
calendarProvider.selectedDateList.add(dateModel);
}
configuration.calendarSelect(dateModel);
if (configuration.calendarSelect != null) {
configuration.calendarSelect(dateModel);
}
//
calendarProvider.selectDateModel = dateModel;
} else {
calendarProvider.selectDateModel = dateModel;
configuration.calendarSelect(dateModel);
if (configuration.calendarSelect != null) {
configuration.calendarSelect(dateModel);
}
//item
if (calendarProvider.lastClickItemState != this) {

Loading…
Cancel
Save