账单时间选择

pull/1/head
戴余标 3 years ago
parent c7509a789f
commit fd472d55ad

@ -59,7 +59,7 @@ class _PointRecordViewState extends State<PointRecordView> {
child: Row( child: Row(
children: [ children: [
GestureDetector( GestureDetector(
onTap: () async { onTap: () async {
var date = await BeeDatePicker.monthPicker( var date = await BeeDatePicker.monthPicker(
DateTime.now().subtract(Duration(days: 365))); DateTime.now().subtract(Duration(days: 365)));
if (date != null) { if (date != null) {

@ -31,7 +31,7 @@ class _BeeMonthPickBodyState extends State<BeeMonthPickBody> {
(index) => index + 1); (index) => index + 1);
@override @override
void initState() async{ void initState(){
setState(() {}); setState(() {});
_pickYear = widget.initTime.year; _pickYear = widget.initTime.year;
_pickMonth = 1; _pickMonth = 1;

Loading…
Cancel
Save